Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Change data in field after submit?


rainborick - 10:43 pm on Aug 26, 2012 (gmt 0)


If you can't edit the script, I'd suggest that you pre-populate the form fields with your defaults using JavaScript instead of using the 'value' attribute in the <input> tags. That way, users running without JavaScript won't have those fields filled with invalid data. And then you'll want to add an 'onsubmit' function to strip out the default values before sending the data on to the script.


Thread source:: http://www.webmasterworld.com/html/4488357.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com