Greetings.
I've been searching the forums, and haven't found the answer for my questions, so, here they go.
I'd like to validate a field FieldB based on two items:
- The value of a field FieldA previous to FieldB in the form
- The JS function I've designed in Client Scripts > Global > Pages with header/footer > Global Code, wich returns true/false depending on the value of the field FieldB.
Any ideas on how to do this? Any way to either send the value of A to be evaluated on the function or to use the value directly from the php code? (the field A is named x_FieldA on the source code).