Results 1 to 2 of 2

Thread: dynamic <textarea>

  1. #1
    Join Date
    Jun 2006
    Posts
    78
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Talking dynamic <textarea>

    so i have a form and in it several sections the user has to fill out. now there are some that are required and there are some that are not if the user gets to the bottom and fills in there text. but they have not filled all required it will display here are your errors please go back. that i have and it works fine i love it. but the thing i need is that it erases any data that the user has submitted into the textarea field (all the rest stay put). any thoughts on how i can get the data to sit in place till the user figures out they need to fill all required's in? please advise with tutorials or if you have done this. how did you do it?
    thankx

  2. #2
    Join Date
    Jun 2006
    Posts
    78
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    solved
    Code:
    <textarea name="somename"><?= $_POST['somename']; ?></textarea>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •