I have a form that sets input fields as enabled / disabled based on some radio buttons and a checkbox. If the user navigates forward then hits the back button, the field values are retained but the enabled state reverts to the default. Is there a way to handle this via javascript?
Share
You could try invoking your javascript function that enables/disables DOM elements based on radio button selections in the DOM ready event (
window.onload). This event will be executed when loading the page from cache and normally it should wire up the enabled/disabled state of those elements.