Hello everyone,
when somebody submits a form on my PowerPage everything works fine and the success message is displayed after the site refreshes.
Problem is that if somebody refreshes the site again the form is as well submitted again.
For sure Webbrowsers show you that message, but can I prohibit the resubmission somehow?
In my case the resubmission of an order would be a worst case scenario.
This is a known issue with the preview of the enhanced data model, you'll need to configure this in the Power Pages management app for now.
Hi @NickD_MSFT,
that was my opinion as well. Unfortunately, I am using the new power pages with enhanced data model and the option redirect, or at least where it should be, is just blank. I can still select it, but no options are showing. I just get a total white modal where usually the options are.
Another option is to redirect to a different page or hide form once submitted.
https://learn.microsoft.com/power-pages/configure/basic-forms#on-success-settings
Found it out myself:
Just add the following code snippet to the js of the specific page:
if ( window.history.replaceState ) {
window.history.replaceState( null, null, window.location.href );
}
Lucas001
60
Super User 2025 Season 2
Fubar
55
Super User 2025 Season 2
surya narayanan
35