troubleshooting Question

Classic ASP VBScript: How to get a plain text field to retain data after page reload.

Avatar of lshane
lshane asked on
ASP
13 Comments1 Solution1352 ViewsLast Modified:
DWMX
MS Access
Classic ASP VBSCript
WIN XP PRO

Hello.  Would someone, please, assist me with getting a text field to retain its value on a page refresh?
I'm not ready to try an AJAX solution just yet.

This is a form that involves cities, states, and counties.  I have the "state" and "city" dropdowns with a Jumpmenu to the same page... causing it to refresh.  When the "state" is selected, it reloads the page and  populates that state's cities in the "city" dropdown".  When the "city" is selected, it reloads the page again and populates the "counties".  I've been able to get the dropdowns to retain their value by passing variables (i.e. "?abb=whatever") and then with an <%IF... THEN%> statement for the SELECTION.

However, I am not able to get a plain text field to retain its value.

There will be more plain text fields on the real form, but here is a test page to view:  <http://www.thebargainwatcher.com/dropdown_test2.asp>

Please help.

Thanks so much,
Shane
ASKER CERTIFIED SOLUTION
b0lsc0tt
IT Manager

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 13 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros