[dev] Horde_Form radio with text ("Other" option)
Richard Wallace
rwallace at thewallacepack.net
Fri Jan 14 08:38:41 PST 2005
Hey guys,
What would be the best way to create a radio button variable with an
"Other" option that requires the user to fill in the text box. Right
now I'm thinking of making the separate text variable required based on
whether or not the radio button is selected. So the first time the form
is viewed, the text box wouldn't be required, but if the user selects
the "Other" radio button and hits submit, the text variable will be set
to required so the validation should fail. Does that sound like a good
way of doing it?
Thanks,
Rich
More information about the dev
mailing list