Forum Moderators: not2easy
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
<TEXTAREA name="CustAddr" cols="48" rows="3"><?PHP echo $CustName?></TEXTAREA>