Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Form Data - When back button is pressed have it fill it in again?
Old 10-08-2009, 11:22 AM Form Data - When back button is pressed have it fill it in again?
WebTraffic's Avatar
Extreme Talker

Posts: 225
Name: Brandon
Trades: 0
It was my understanding that this was a basic function of Internet Explorer and Firefox, however it is not doing this with my form. I have a calculator that calculates a persons monthly bill based on a few fields that they fill in. When the person presses the back button, I want to have it to where those values are filled in again.

I guess it requires the user to have auto save fields in their browser turned on, but if there is a way to get this to work I would like to know how.

A demo can be found here.
__________________

Please login or register to view this content. Registration is FREE

Coding is just like a woman. If you don't do something exactly right, it complains.
WebTraffic is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-08-2009, 02:23 PM Re: Form Data - When back button is pressed have it fill it in again?
angele803's Avatar
Perfectly Imperfect

Posts: 1,774
Name: Stephanie
Location: Oklahoma
Trades: 2
You can use php to post the variables back to the original form.

On the back button, you currently have some javascript that just takes the user back. You could make this button a form, with hidden form fields with the values that were posted from the cost-calculator.
Then, on your cost-calculator page, check to see if these variables were passed. If they were passed, then set the values of each field with their corresponding variable.
__________________

Please login or register to view this content. Registration is FREE
angele803 is offline
Reply With Quote
View Public Profile
 
Old 10-08-2009, 05:09 PM Re: Form Data - When back button is pressed have it fill it in again?
Junior Talker

Posts: 1
Trades: 0
You can add some java script code behind it to run.or some other page link which would prove your task.
__________________

Please login or register to view this content. Registration is FREE
Marry is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Form Data - When back button is pressed have it fill it in again?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.16510 seconds with 12 queries