[Catalyst] receiving form-elements in sequence...?
Michele Beltrame
mb at cattlegrid.info
Mon Dec 27 19:16:13 GMT 2010
Hello Will!
> Quick question: how do we determine the sequence of submitted form elements?
I wouldn't rely on the browser "ordering" the form elements properly for
your application to handle.
As another reply suggested, you can use JavaScript to construct an array
and submit that to the server. Or, you can (with JavaScript, again) make
sure every row also carries information about its position when the form
is sumbitted.
Cheers,
Michele.
--
Michele Beltrame
http://www.italpro.net/ - mb at italpro.net
Skype: arthas77 - Twitter: _arthas
More information about the Catalyst
mailing list