Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Auto Clear/Reset form

Participant ,
Mar 11, 2008 Mar 11, 2008
I have a search form that is filled out. For example, one of the entries for a field is 255. The submit goes to the action page where results are displayed. If they hit the back button, the original form entries are still there. If I add 1 to 255 to become 2551 (new search entry) it does not take and 255 is still searched.

What I would like to do is everytime the search form is initiated, I would like to reset/clear it out, so that if they do hit the back button to go back, the form will be empty and they will have to start over.

What is the best way to do this ? Or, if I do not clear it out and they hit th back button, how do I replace 255 with 2551 ?
286
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 11, 2008 Mar 11, 2008
LATEST
sounds like browser caching to me...

try this: http://www.bpurcell.org/blog/index.cfm?mode=entry&entry=1075

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources