Skip to content

Ability to specify multiple fields with the same name on iframe submissions #213

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

Closed
wants to merge 1 commit into from

Conversation

darkliquid
Copy link

Currently, you can use the $.param format for the options.data setting, e.g.

options.data = [{ name: 'test', :value: 'a value' }]

However, this format doesn't work when submitting with iframes. This commit changes that by checking to see whether each element in the extraData array is an object and has the name and value keys, then builds the relevant hidden fields.

By supporting this syntax in iframe submissions, it allows for submitting multiple values for the same name.

…ng query parameters so you can specify multiple fields with the same name on iframe posts.
malsup added a commit that referenced this pull request Jul 29, 2012
@malsup
Copy link
Collaborator

malsup commented Jul 29, 2012

Thank you!

@malsup malsup closed this Jul 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants