Quote:
Originally Posted by timetunnel
The 'readonly' attribute still allows the parameters of the 'input' statement to be sent to the server when the form is submitted. Therefore, the input 'acts' like the type is 'hidden' vs. 'text'. When the disabled attribute is used, its parameters are NOT sent to the server thereby causing the error message, 'invalid email address'. The server never received the data.
|
I guess I should have tested it a bit more, huh?
Ok, so another way around it is to mimic the text colour of a disabled field..
HTML Code:
style="color:#7C898A" readonly="readonly"