I think you need to suffix [] to the name.
eg. name="teaBreak[]"
Thanks for the reply I tried that but no avail...
Anyone has another idea?
Thanks
-
☆ A M B ☆
- 24,524 Posts
Do you have the eform attribute added to the first checkbox?
<input type="checkbox" name="teaBreak" value="Tea Break Ordered" eform="fieldname::0" />
or whatever values the eform attribute needs for your purposes.
Thanks Suzan, I tried several but I didn’t get the default values to be retained. I’m wondering if it works or maybe I just don’t know how to use it...
I’m surprised nobody came across this is since this is very common behavior to have default values saved upon validation error. One doesn’t want to have to re-enter all the values everything time a validation error prevent the form from being submitted.
Still looking.... I really need this one...
Thank you