astupiduser Posted March 20, 2010 Share Posted March 20, 2010 Hi everybody, I need a back button which remembers the data the user has inserted into my form, i.e. when you click on it and go back to the previous page, you see what you have inserted. Does anyone has an idea how this works? Cheers, astupiduser Link to comment https://forums.phpfreaks.com/topic/195904-back-button-remembering-inserted-data/ Share on other sites More sharing options...
haku Posted March 20, 2010 Share Posted March 20, 2010 This is a browser setting, not something you can change yourself. You can try to play around with cookies to do something, but it's never going to work that well. Link to comment https://forums.phpfreaks.com/topic/195904-back-button-remembering-inserted-data/#findComment-1029068 Share on other sites More sharing options...
Ruzzas Posted March 20, 2010 Share Posted March 20, 2010 If a user has posted the form it should save it when you click back. Link to comment https://forums.phpfreaks.com/topic/195904-back-button-remembering-inserted-data/#findComment-1029100 Share on other sites More sharing options...
astupiduser Posted March 20, 2010 Author Share Posted March 20, 2010 At the moment my button looks like this: <form><input type=button value='Back' onClick='history.go(-1)'></form> So when I click on it, I see the blank form without the entries of my user. Is there a way to make my button remember them? Link to comment https://forums.phpfreaks.com/topic/195904-back-button-remembering-inserted-data/#findComment-1029158 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.