Page 1 of 1
Change event no longer fired on Lookup field
Posted: Mon Feb 05, 2018 10:43 pm
by ltrannoy
Hello,
Change event no longer fired on lookup field since last update of nuform.js.
Regards,
Max
Re: Change event no longer fired on Lookup field
Posted: Tue Feb 06, 2018 12:33 am
by admin
Max,
A Lookup Object is a different animal than other Objects.
Until a record is chosen, running Javascript is not very helpful.
That is why there is a Javascript section where you can add code that will run AFTER a record has been selected. (not when the cursor tabs out of the Lookup Object.)
lookup_change.PNG
Steven
Re: Change event no longer fired on Lookup field
Posted: Tue Feb 06, 2018 2:44 am
by toms
Max,
What do you need the event for? Can you give us some more details?
Re: Change event no longer fired on Lookup field
Posted: Tue Feb 06, 2018 7:12 am
by ltrannoy
Hi Steven,
Thank you, I will test.
Previously, I used the onchange event to disable two Select after selecting a value in the Lookup.
Thank you
Re: Change event no longer fired on Lookup field
Posted: Tue Feb 06, 2018 7:21 am
by ltrannoy
that worked.
thank you.
Re: Change event no longer fired on Lookup field
Posted: Tue Feb 06, 2018 7:30 am
by admin
.