SEO Class in Chicago, IL
Are you a Google Analytics enthusiast?
More SEO Content
Posted 23 December 2004 - 01:43 PM
Posted 23 December 2004 - 01:56 PM
you set the values, you decide which one is selected as default, if the user selects another one that's the only value returned. if none are selected, no value is set and the form radiobutton entity will be empty.
Validation is really only needed when you have users typing in random chararacters instead of a date etc.
what you need is better done server-side
pseudo code example.
if form("textbox") <> "" then
Posted 23 December 2004 - 02:14 PM
I am validating it server-side as well and they get the error message, but once a radio button is selected it cannot be "un-selected". So if they go back to the form, they would have to reset the entire form to clear the radio button selection. I thought I might be able to head off that scenario by doing a little client-side validation. I just didn't and don't understand why the radio button seems to be impervious to client-side inspection.
Your suggestion to ignore the radio button selection might work though. I will think about that and run it by the client.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users