Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2010
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    HTML Select needs to save it's value after form sending

    Hello,

    I have a HTML select element with some option values. When I click on Add button and there is error(not all fields added, for example), I have all fields getting their values back and not resetting. How do I make select element also save it's value? I tried everything with if structure, $_REQUEST etc... but no idea... Can anybody help?

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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