"remembering" a value when form is redisplayed

Giganews Newsgroups
Subject: "remembering" a value when form is redisplayed
Posted by:  jul…@scripteasy.com (Julia)
Date: 18 Jul 2003

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.value = ... but I couldn't figure out how to have
it retain that info after it's redisplayed the page.

<a href="javascript:if(validateForm(form)){enterRemarks(form);window.location.h
ref = 'remarksNEW.html';form.Remarks.value=''}"
class=optionButtonXSmall>Submit</a>

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

Thank you!

Replies