From: Jilani Khaldi Date: 2000-07-02T12:55:09+02:00 Subject: [ruby-talk:03743] CGI module and form fields values Hi Ruby's! I have a html form with these fields in this order: 1- textbox (name) 2- edit text (birth date) 3- check box (checked) 4- check box (checked) 5- check box (checked) 6- radiobutton (checked) 7- radiobox (not checked) 8- radiobox (not checked) 9- scrollable textbox (comment) running this code: ... cgi = CGI.new h = cgi.params h.each_key {|key| print key, "
"} ... in output, I see the fields key in this order: 3- check box (checked) 2- edit text (birth date) 9- scrollable textbox 4- check box (checked) 6- radiobutton (checked) 5- check box (checked) (?) SubmitButton 1- textbox (name) Is it normal? How to get in output the fields and their value in the same order as they are in the form? Thank you. -- jilani __________________________________________________ http://space.tin.it/scuola/jkhaldi