I’m writing some Custom JS to Show/ Hide some fields on the form based on the iput values from another field. Although this can typically be done via the Rules tab the situation I am dealing with is quite complex so requires some JS. What is the syntax for Show/ Hide?
i.e. we have:-
spjs.dffs.flag_Mandatory
spjs.dffs.clear_Mandatory
to toggle Mandatory on off. Is there something similar for Show/ Hide?
Perfect. Thanks again 😎
While I’m here: Do you have a list of available commands that can be executed via Custom JS? E.g.
Set field value to…
Set Field to Read Only
Alert message…
Basically the commands available through the Rules Tab.