"remembering" a value when form is redisplayed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Julia

    "remembering" a value when form is redisplayed

    I have a page that the user will use multiple times. When they submit the
    form, it sends me the info, and redisplays the form for the user to use
    again. I have one field in there that I'd like the form to "remember" and
    set upon redisplaying of the page. I tried adding it to my href line
    (below) as a form.contact.va lue = ... but I couldn't figure out how to have
    it retain that info after it's redisplayed the page.

    <a href="javascrip t:if(validateFo rm(form)){enter Remarks(form);w indow.location. h
    ref = 'remarksNEW.htm l';form.Remarks .value=''}"
    class=optionBut tonXSmall>Submi t</a>

    Can someone point me in the right direction on how I would go about doing
    this?

    Thank you!
  • Chris Leonard

    #2
    Re: &quot;rememberi ng&quot; a value when form is redisplayed

    > I have a page that the user will use multiple times. When they submit the[color=blue]
    > form, it sends me the info, and redisplays the form for the user to use
    > again. I have one field in there that I'd like the form to "remember" and
    > set upon redisplaying of the page. I tried adding it to my href line
    > (below) as a form.contact.va lue = ... but I couldn't figure out how to[/color]
    have[color=blue]
    > it retain that info after it's redisplayed the page.[/color]

    Why not use a cookie ?


    Comment

    Working...