-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing empty values #38
Comments
This is a current problem with jQuery.serializeArray Using your code provided in your fiddle, the value of the text input is an empty string $("input[type=text]").val()
// => "" And the value of the select is $("select").val();
// => null Now the issue with this is how jQuery.serialize is implemented. I'm currently working on the However, this may or may not solve your problem depending on how it gets implemented. I'll follow up here with any progress we make on this issue. |
I am having an issue with names like this not being recognized. seatmap_options[calendar][g_1-8][1-8_extra5] Any ideas what's wrong? The fields are just ignored |
The fields aren't validating for whatever reason. Not sure if it's a bug or not, or if the jquery plugin doesn't like my overly complex array in the name attribute. I was able to comment out the validation line and it works fine now. Thank you for this. I wrote a simpler version years ago that didn't work as well with 3d arrays. This one does. |
How to reproduce
Use the following demo - http://jsfiddle.net/9xfdvLbL/
Conditions
Typing some copy in the input text and by selecting one or more categories, you get:
Problem
When submitting the form without entering any values in the form fields. You get:
Expectation
When submitting the form with no values in the fields to get:
The text was updated successfully, but these errors were encountered: