Page 1 of 1
nuSetFormValue with hash cookies
Posted: Sat Jun 11, 2022 1:13 am
by treed
Documentation says it works with strings, but examples show an object being passed. Can this work? Hash value is set.
Code: Select all
nuSetFormValue('OrdTerms', "%OrgTerms%");
Or is there a better way the value of a forms fields on a before edit. This form is opened with nuForm().
Re: nuSetFormValue with hash cookies
Posted: Mon Jun 13, 2022 7:57 pm
by kev1n
nuSetFormValue() works only in After Browse of a Lookup Object.
A valid cookie would be #OrgTerms# and not %OrgTerms%
Or is there a better way the value of a forms fields on a before edit. This form is opened with nuForm().
Use
nuOnProcessObjects()
Re: nuSetFormValue with hash cookies
Posted: Mon Jul 18, 2022 8:58 pm
by kev1n
Is this solved?
Re: nuSetFormValue with hash cookies
Posted: Mon Jul 18, 2022 11:55 pm
by treed
Thanks for asking, no. I just updated the site to the latest code last week. I'll give nuOnProcessObuects() a try.