I have phpformmail "Classic version 1.07.1"...and I absolutely cannot get the form to correctly validate a checkbox array. I've searched the forum, found the appropriate guidance, and still cannot make the script validate a checkbox array.
The url is internal, so I can't post it. It's a 2003 server, and everything else is working fine with the script...validating, sending email, etc...as long as I don't ask it to require the checkbox field.
My code uses left-brace space right-brace ([ ]) in the name field. I even tried no space, since that's what the documentation says in the readme_pfm_classic.htm file.
There are no spaces in the field name or the values. And if I remove that field name from the required list, I get a lovely email with a comma delimited string of my checkbox items.
Here's a snippet:
Problem Solving & Decision Making
Innovation & Risk Taking
But if I try to require that set of checkboxes, no dice. Whether I've checked one or many, the script reports that I need to go back and fill out something in that field.
Any *other* ideas?
re: bug in multiple selects in new version (1.07)?
I haven't been able to retest this but it is one of my tests before I do a new release so it should be working. Try removing the space between the brackets.
Problem Solving & Decision Making
Innovation & Risk Taking
would be this
Problem Solving & Decision Making
Innovation & Risk Taking
-Andrew Riley