C
Cere Davis
I wonder if the following behaviour of cgi.rb is deliberate?
If I have a cgi radio_button element like:
cgi.radio_button("radioname")
where the radio button is unchecked, then I post into the cgi form a
name value pair for radioname like:
radioname=something
and get:
<INPUT TYPE="radio NAME="radioname">
for output...
it seems to me that the cgi.rb should print out the value attribute of
"somthing" in the html output instead of just printing the prior state
of the form.
something like:
<INPUT TYPE="radio" NAME="radioname" VALUE="something">
instead of just:
<INPUT TYPE="radio NAME="radioname">
Am I missing something here?
Why wont cgi.rb capture the state of values posted into it?
Thanks,
-Cere
If I have a cgi radio_button element like:
cgi.radio_button("radioname")
where the radio button is unchecked, then I post into the cgi form a
name value pair for radioname like:
radioname=something
and get:
<INPUT TYPE="radio NAME="radioname">
for output...
it seems to me that the cgi.rb should print out the value attribute of
"somthing" in the html output instead of just printing the prior state
of the form.
something like:
<INPUT TYPE="radio" NAME="radioname" VALUE="something">
instead of just:
<INPUT TYPE="radio NAME="radioname">
Am I missing something here?
Why wont cgi.rb capture the state of values posted into it?
Thanks,
-Cere