The solution here is fairly simple. Disabled elements are not submitted - so just don't keep them disabled when you are going to submit!
During the OnSubmit event (or in a javascript attached to your submit button, etc) - just enable those disabled elements! To keep it real simple just enable all of them on the form.
To prevent input mistakes, you might first hide the entire visible form, or the elements on it just to make sure the user cannot change something in the second or two that the elements become editable before the page refreshes. Set css display:none or visibility:hidden.
Here is an example function you might call in your onsubmit event. It takes a referrence to the form and enables all the fields so they will get submitted...
Quote:
function EnableAllElements( form )
{
for( i=0; i < form.length; i++ ) form.elements[i].disabled = false;
}
|