Forum Moderators: not2easy

Message Too Old, No Replies

Textarea

         

mag1

11:09 am on Nov 26, 2004 (gmt 0)

10+ Year Member



Hi,

I have a form in php/html with a series of input fields and a textarea. Currently if one of these fields is left empty and the form is submitted an error message will appear advising this. All previously entered text remains in the input fields but doesn't in the textarea, is there anyway of doing this to prevent the user from having to re-enter details? Below is how I'm doing this for the input fields:

<input type ="text" name ="CustName" value="<?php echo $CustName?>">

Thanks

dcrombie

3:17 pm on Nov 26, 2004 (gmt 0)



Something like this?

<TEXTAREA name="CustAddr" cols="48" rows="3"><?PHP echo $CustName?></TEXTAREA>