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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Sep 2010
    Posts
    124
    Thanks
    6
    Thanked 0 Times in 0 Posts

    want to reset only 3 input boxes but form has 6 inputboxes

    hi again

    i have a form with 6 inputboxes

    inputbox 1
    inputbox 2
    inputbox 3
    inputbox 4
    inputbox 5
    inputbox 6

    resetbutton i want to reset only 3 inputboxes( inputbox 1 , inputbox 4, inputbox 6)

    how do i do this ..........

    plz give me sample code for this

    plzz hlp me

  • #2
    Senior Coder
    Join Date
    Sep 2010
    Posts
    2,080
    Thanks
    15
    Thanked 245 Times in 245 Posts
    When you submit the form it reloads the page, so what you have to do is reload the values of the inputs you don't want to reset. The problem here is that when the page is first loaded you will need to have some way to load default values into the inputs or you will get errors.

  • #3
    Regular Coder
    Join Date
    Sep 2010
    Posts
    124
    Thanks
    6
    Thanked 0 Times in 0 Posts
    [QUOTE=DrDOS;1017495]When you submit the form it reloads the page, so what you have to do is reload the values of the inputs you don't want to reset. The problem here is that when the page is first loaded you will need to have some way to load default values into the inputs or you will get errors.[/QUOTe

    in hear first form reload with the from the database..............

    then after i want to reset the page


  •  

    Posting Permissions

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