Skip to content
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

Returns no object #36

Closed
AndersMadsen opened this issue Oct 6, 2014 · 4 comments
Closed

Returns no object #36

AndersMadsen opened this issue Oct 6, 2014 · 4 comments

Comments

@AndersMadsen
Copy link

http://pastebin.com/ATsbYRcf

when submitting the console will write " " and "{ }"

@macek
Copy link
Owner

macek commented Oct 8, 2014

It doesn't look like you've included <script src="jquery.serialize-object.js"></script> anywhere here

@AndersMadsen
Copy link
Author

it's at the bottom, could it be that your script doesn't split up the name with dot (.) as a delimiter?

@macek
Copy link
Owner

macek commented Oct 29, 2014

To support splitting by a dot, at this as an initialization script

$.extend(FormSerializer.patterns, {
  validate: /^[a-z][a-z0-9_]*(?:\.[a-z0-9_]+)*(?:\[\])?$/i
});

Previous discussion about this can be read at #4

@macek macek added the support label Oct 29, 2014
@macek
Copy link
Owner

macek commented Oct 29, 2014

The API has documentation this issue.

I'm marking this as invalid and closing the issue. If you find additional bugs with this functionality, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants