By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,379 Members | 1,587 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,379 IT Pros & Developers. It's quick & easy.

"remembering" a value when form is redisplayed

P: n/a
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)){enterRemar ks(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!
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
> 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.


Why not use a cookie ?
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.