Hi,
Another CGI Question from another avid perl programmer:
I have a form in a webpage. The form has a option-select(drop-down) item and a radio button. I also have a
javascript which disables the select element if the radio button is clicked. And also vice-versa (ie. the radio button is disabled if the select element is changed).
The problem is, I do manipulation based on the input the user provides, and if there is any invalid data, i send him back to the previous page.
But, when I go to the previous page, say for example the select option was chosen, the radio button is also enabled, allowing the user to choose it too. Is there a way to maintain the same settings as it were earlier?
Did you ever notice that when you blow in a dog's face, it gets mad at you but when you take him on a car ride,he sticks his head out the window and likes it?