display ERR_CACHE_MISS when user click back button

univer 18 Sep, 2018
Hi,
i want dispay ERR_CACHE_MISS when user click back button after send form with pdf inline. How to?
GreyHead 19 Sep, 2018
Hi univ,

Sorry I don't understand your question, please can you explain a bit more.

Bob
healyhatman 19 Sep, 2018
When he clicks "back" he wants to force Chrome (or whatever) to display the "confirm form resubmission" error page. Like this. Dunno why.display ERR_CACHE_MISS when user click back button image 1
univer 19 Sep, 2018
Right!

How to?
healyhatman 19 Sep, 2018
No idea. Not sure if you can nor why you would want to.
GreyHead 20 Sep, 2018
Hi univ,

Ditto to healyhatman's reply. What exactly do you need to do here?

Bob
univer 20 Sep, 2018
This is scenario:
user fill out the form, click sumbit and get pdf.
He see mistake and push browser back button with some hidden filed empty*.
He click again submit and get message error because i do checks with Event switcher...
User call me....
I want prevent this! User must view err_cache_miss and not form with some full fields and others empty*
I could also provide the loading of the form but never check javascript or php works

*fields are empty because in this case javascript has not works.
GreyHead 20 Sep, 2018
Hi univ,

I would change the form to save the PDF to the server and then provide a page with a download link in place of the automatic download. You can add an Edit or Back button to that page in case changes are needed.

It might also be helpful to add a Confirmation page so that the user can review the data before the pdf is created.

Bob
healyhatman 20 Sep, 2018
If you use a redirect action it should clear all the data so they can't resubmit accidentally
univer 20 Sep, 2018
i've confirmation page.
How i can use redirect? javascript and php in that case doesn't work because the page i cached.
thanks
univer 23 Sep, 2018
how to configure redirect action if user has pushed browser back button?
thanks
healyhatman 23 Sep, 2018
After successful submission use a redirect action, available in the setup tab, to redirect to for example a "success" event that displays a success message
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger