We have installed ChronoForms v5 (on Joomla 3.4.8), and need to check that the input filed name "Member-Code" has one of three values "1001", "1002", or "1003" before the form can be submitted (any other input should error).
I understand that this can be accomplished with a JavaScript Custom Validation on the text input element for serverside validation; with a PHP equivalent to repeat the check using an Event Switcher action in the form On Submit event.
Could we see an example of the custom code(s) and configuration required to accomplish this?
Thanks in advance!
I understand that this can be accomplished with a JavaScript Custom Validation on the text input element for serverside validation; with a PHP equivalent to repeat the check using an Event Switcher action in the form On Submit event.
Could we see an example of the custom code(s) and configuration required to accomplish this?
Thanks in advance!