Hi,
I have a form that I am using the HTML5 'required' attribute. This is fine except when the form is completed and submitted. I use Ajax to submit the form request, and then blank out the form, once submission is received.
However, when I make the value of the inputs '' (blank), FireFox / IE show the red border implying the input is invalid.
How do I reset the 'invalid', status of the form fields, without removing the highlighting functionality?
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
I have a form that I am using the HTML5 'required' attribute. This is fine except when the form is completed and submitted. I use Ajax to submit the form request, and then blank out the form, once submission is received.
However, when I make the value of the inputs '' (blank), FireFox / IE show the red border implying the input is invalid.
How do I reset the 'invalid', status of the form fields, without removing the highlighting functionality?
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music