Can someone help me with this? When submitting a form that contains errors in it, I want the values that are entered to remain in the text fields and text areas. I can get it to save the values in the text fields but not the text areas.
This is what I'm using:
<textarea name="message" cols="70" rows="15" id="message" value="<?=$message?>">
The above code will not save what was typed in the text area if there is an error and the user will have to retype the entire message again.
This does however work for the text fields and looks like this:
<input name="subject" type="text" id="subject" size="30" value="<?=$subject?>">
How do I get it to work for a text area?
Thanks