#1212 new
Lee Aylward

Form.serialize with multiple select behavior change

Reported by Lee Aylward | February 8th, 2011 @ 07:06 PM

If a <form> contains a <select multiple> the selected values are joined with a comma and submitted as one parameter. In prototype 1.6 they were submitted as separate values.

1.6: ?foo=bar&foo=baz
1.7: ?foo=bar,baz

I have an example here: https://gist.github.com/816706

I'm not sure if this was an intentional behavior change or not, but it seems like this might be an issue for other people who are upgrading.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins