HighDots Forums  

Back Button / Forms

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Back Button / Forms in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
White Ash
 
Posts: n/a

Default Back Button / Forms - 06-22-2004 , 03:28 PM






Hi there,

I've put together a form that has required fields. I find that if I fill out
all fields, except one of the requried fields, I go to the error message just
fine. However, when I click on the back button which has this code attached to
it:

javascript:history.back()

I lose everything that I've typed in. Is there a way to go back a page
without losing what has been already entered into the form's fields?

Thanks much for your help.


Reply With Quote
  #2  
Old   
waddawadda
 
Posts: n/a

Default Re: Back Button / Forms - 06-22-2004 , 03:50 PM






You could have two submit buttons, but one would sumit the information to the
previous form so all of your variables would be passed, and then you could set
the forms to be whatever the vaiables you passed were.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.