Form Validation question when using [] in the name of the field #2032
-
Good Day, Just had a general question, I have a few input fields that share the same name example: easy[], the reason I am using this is when they get submitted they basically appear as an array and I can process it by just looping through each element. I tried adding validation like this: However it is only validating the first field it comes across. Is there anyway for it to validate all the fields that match easy[] instead of just the first? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Works as expected for me |
Beta Was this translation helpful? Give feedback.
Works as expected for me
See https://jsfiddle.net/lubber/1q3dh6pf/5/