M
Mike N.
Hello:
I have a form that contains a multiple-select field that has 12
options in it. I would like the user to be able to select UP TO FOUR
of those options. If they select more than four, I would like to alert
them of the error. To do this, I figure that counting commas would be
the easiest method (i.e., IF commas > 3 THEN alert user).
NOTE: I have an existing "validateForm" function for this form and I'd
like to add this IF-THEN STATEMENT to it.
Any assistance is much appreciated. Also, if there's a better method
than "comma counting" I'm all ears.
Thanks,
Mike
I have a form that contains a multiple-select field that has 12
options in it. I would like the user to be able to select UP TO FOUR
of those options. If they select more than four, I would like to alert
them of the error. To do this, I figure that counting commas would be
the easiest method (i.e., IF commas > 3 THEN alert user).
NOTE: I have an existing "validateForm" function for this form and I'd
like to add this IF-THEN STATEMENT to it.
Any assistance is much appreciated. Also, if there's a better method
than "comma counting" I'm all ears.
Thanks,
Mike