How do you make the contents of a text box remain, even after clicking send, with errors ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At the moment, the visitor inputs a load of text
into the comments box, but if they click send and
there's errors in other fields on the page, the
comments box goes blank and they have to start all
over again ;-(  Trying to get it so that the
comments box stays complete).

Do I have to refer to the field or field name
elsewhere in the code please?  Getting a bit stuck
on this ;-(

Any help appreciated.

Chris

<TEXTAREA style="FONT-SIZE: 13px;" name="comments"
rows="7" cols="21" value="comments" type="text"
value="<?php echo $_POST['comments']; ?>"
maxLength="32" size="14"
onchange="Form1.send.focus()"/>
</TEXTAREA>




PHP Data object relational mapping generator
http://www.metastorage.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux