Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: CGI form results to XML

by Anonymous Monk
on Feb 18, 2013 at 08:08 UTC ( #1019292=note: print w/replies, xml ) Need Help??


in reply to CGI form results to XML

I just wanted to say that it is not guaranteed (AFAIK) that the web browser sends the form fields in the same order as enumerated in the html, or that they even send all of them (when one is unset). That is, you probably can't match a name and a birth date together. You should give the text boxes different names, grouping by entry. HTML::FormFu, particularly HTML::FormFu::Element::Repeatable might help there. (It's a pretty difficult/boring job to do it manually.)

Replies are listed 'Best First'.
Re^2: CGI form results to XML
by Your Mother (Chancellor) on Feb 19, 2013 at 04:45 UTC

    Iíll be damned, RFC 2388 seems to agree that itís not guaranteed, because itís left unspecified. Surprising. I do a lot of form introspection and simple CGI::Dump -> email kinds of stuff and I have never noticed any browser sending the fields back in any order other than that of the fields in the page.

Re^2: CGI form results to XML
by Anonymous Monk on Feb 19, 2013 at 02:03 UTC

    Thanks for the info

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019292]
help
Chatterbox?
[karlgoethebier]: ...like me
[marto]: what a mess
[karlgoethebier]: perhaps i need a zerial?
[Corion]: marto: Heh - I think that's a nice contractual trap, "you will not use other gods/engines besides ours" ;)
[Corion]: But if the base intention was to have CIG as "co-developers" who (have to) contribute changes back to the mainline, it makes sense to have them use no other engine
[marto]: yes, I hear that development house has been on its last legs for a couple of years now
[Corion]: Is anybody aware of what makes Android Oreo better than Android Nougat? I'm not sure if the architectural changes (etc) are there already that make upgrading an Oreo-kernel phone to a newer Android userland (Lineage OS) version feasible
[Corion]: Yeah, CryTek got blindsided (or whatever) by Unity and Unreal Engine being zero cost, and the CryTek documentation being bad/nonexistent I think
[Corion]: "zero monetary cost", because of course, it's gratis only if your time has no value :)
[marto]: I used to keep up to date with my android ROMs, updating to the nightly every other day

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-12-14 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (389 votes). Check out past polls.

    Notices?