Discussions
Help Client Script - Disable and Set Field Values
Hi,
I'm trying to put together a script on an entry form that will set a default value and disable a field based upon the users selection in another field using the fieldChanged() function. There are two possible fields that I can use to trigger the event with the values listed below.
Field ID - customform
Static/Internal ID (value) - 14 (Real Estate Company Form)
-
0r
-
Field ID - category
Static/Internal ID (value) - 15 (Real Estate Services Company)
All companies within this particular client category use the same custom form and vice versa, so I was unsure upon which field to base the function. The custom form is not preferred so the user must select the value. This appears to reload the form so I was unsure if I should use the pageInit() function.