Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - re-populate formfield when user hits back
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

re-populate formfield when user hits back

 Post Reply Post Reply Page  <12
Author
Diep-Vriezer View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 August 2003
Location: Netherlands
Status: Offline
Points: 831
Post Options Post Options   Thanks (0) Thanks(0)   Quote Diep-Vriezer Quote  Post ReplyReply Direct Link To This Post Posted: 21 September 2003 at 3:26am
Or make an Asp.net page. This one has much easier validation wich is all server done.
Gone..
Back to Top
Bluefrog View Drop Down
Senior Member
Senior Member


Joined: 23 October 2002
Location: Korea, South
Status: Offline
Points: 1701
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bluefrog Quote  Post ReplyReply Direct Link To This Post Posted: 28 September 2003 at 6:30am

ok... back...

On the page where the original form is, put something like this

    For Each formItem In Request.Form
  
               myVar=formItem & " = """ & trim(Request.Form(formItem)) & """ "

  execute(myVar)
    Next

The in the inputs on your page, put:

value="<%=theItemName%>"

In the post to page, put hidden inputs and add in an "edit" or "back" button:

<INPUT TYPE="submit"  OnClick="this.form.action=original_form_page.asp';" value="Edit Info">

Now, it's all done

My implementation was a bit more complex, but nothing worth mentioning.

Sorry about taking to long to get back here - I got swamped with work and that part was a low priority.

 

Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.