Disabled Form Controls Cannot be Successful

I'm sure I probably knew this at some point, but for some reason it was a surprise to me this past week. Apparently disable controls are not submitted with HTML forms. I ran into this in the context of some AJAX work I've been doing. I noticed one of my form fields was not being submitted and I thought it may have had something to do with my AJAX JavaScript, but it turned out to be something much more basic... You (re)learn something new everyday!

Comments
William from Lagos's Gravatar Yeah, same thing happened to me. I instead wanted the input field not to be editable. But instead of using the "readonly" attribute, I was using the "disabled" attribute.
# Posted By William from Lagos | 2/16/07 8:32 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.