davinci29 Posted September 5, 2016 Share Posted September 5, 2016 There were lots of forums which has the same issue but none of them has the solution that I need, below is my code, <td colspan="2"><form id="form1" name="form1" method="post" action="" onsubmit="return validateDBLoad()"> What it does after I fill up the form is it validates the datas that were entered thru validateDBLoad javascript. Then after I submit the data to db, when I tried to refresh the page its giving me this pop up "Confirm Form Resubmission". Quote Link to comment https://forums.phpfreaks.com/topic/302086-confirm-form-resubmission-when-refreshing-browser/ Share on other sites More sharing options...
Barand Posted September 5, 2016 Share Posted September 5, 2016 Interesting. Quote Link to comment https://forums.phpfreaks.com/topic/302086-confirm-form-resubmission-when-refreshing-browser/#findComment-1537106 Share on other sites More sharing options...
Jacques1 Posted September 5, 2016 Share Posted September 5, 2016 If you want to refresh the page without being prompted for a resubmission, look into the PRG pattern (POST, redirect, GET). Quote Link to comment https://forums.phpfreaks.com/topic/302086-confirm-form-resubmission-when-refreshing-browser/#findComment-1537107 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.