Page 1 of 1

retrieve field value Before Save

Unread postPosted: Tue May 02, 2017 8:25 pm
by zgui
Hi everyone,
I'm at the end of a form (lr_session), and I need to know the value of one of the fields (ses_wp_ea_services_id).
Image
In my form's "Before Save", I have :
Code: Select all
$fieldName = 'ses_wp_ea_services_id';
$fieldValue = nuF($fieldName);
nuDisplayError($fieldValue);
return;

which gives me an output of "null"...

Any help very welcome =)

Re: retrieve field value Before Save

Unread postPosted: Wed May 03, 2017 3:10 am
by zgui
ok I've found a way :
Code: Select all
nuDisplayError($nuHash['ses_wp_ea_services_id']);

works perfect =)

Re: retrieve field value Before Save

Unread postPosted: Wed Jun 14, 2017 8:01 am
by admin
Excellent!