Retain values in the form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arunvasuki
    New Member
    • Dec 2007
    • 1

    Retain values in the form

    Hi,
    I have a form with a few edit boxes. In the form i also have a search button which takes me to a small pop up window. After searching i am getting back the values in to the parent form..also the parent form is getting refeshed but the values are not retained..could some one tell me how to retain the values...
    thanks
  • shweta123
    Recognized Expert Contributor
    • Nov 2006
    • 692

    #2
    Hi,

    On clicking on the search button are you submitting the form because of which when you return back to the Parent form , it is getting reloaded with default values? You can not submit the form if you want to retain the values
    If you are opening the popup window , how are you getting values back on the parent form.


    Originally posted by arunvasuki
    Hi,
    I have a form with a few edit boxes. In the form i also have a search button which takes me to a small pop up window. After searching i am getting back the values in to the parent form..also the parent form is getting refeshed but the values are not retained..could some one tell me how to retain the values...
    thanks

    Comment

    • jhardman
      Recognized Expert Specialist
      • Jan 2007
      • 3405

      #3
      [code=asp]<input type="text" name="poppy" value="<%=reque st.form("poppy" )%>">[/code]

      Comment

      • alijannaty52
        New Member
        • Dec 2007
        • 17

        #4
        There is an example in the below link .Hope this resource will help you indeed.

        http://aspspider.info/magicalspell4u/?Quest=RetainPo pUpValuesInPare nt

        -Thanks
        52

        Comment

        Working...