This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have radio buttons to select 'ALL' or a 'Custom' date in a JSP web application.
Custom date works great and so does ALL.
However, if the user changes their mind and goes from Custom to ALL, the dates remain.
I’ve tried everything I can think of! Any help would be appreciated.
Thank you so much for the reply.
However, it didn't work.
When I toggle back betwen Custom and ALL it still shows and carries the values over to the next page.
Joined: Nov 08, 2001
well do you have an error message in the console?
Joined: Nov 27, 2009
No error message at all upon compile or running in the browser.
It just has the old values from custom when I select ALL again and when I go to the next page in a form.
Ultimately, I would like to reset the values not only when selecting the ALL radio button but also when using the Back Button.