I wanna know how do I enable a disabled form text field on submit. Also I wanna make sure if user goes back to form or click reset field will show again as disabled.
I tried to use
document.pizza.field07.disabled = false ;
It does disables the field, by clicking reset or hitting back button still keeps it enable.
Please guide.
To access this element in a more standard way, use document.getElementById with setAttribute
EDIT
Based on your comment, it looks like field07 is a name, not an id. As such, this should be what you want: