Hi everyone, I'm currently working have a multi-step form that I want it to be able to display data from the multi-step form after it gets submitted. Currently, in power pages it only gives me the option to put a custom message and that's it. Need help and advice.
In Power Apps, you can use the "On Success" property of the form to specify what happens after the form is successfully submitted.
To redirect to another page after the user submits the multi-step form, you can follow these steps:
1. Identify the button or action that submits the multi-step form. This could be a "Submit" button or any other control that triggers the form submission.
2. Select the button or action that submits the form, and in the properties panel, locate the "OnSelect" property (for buttons) or the relevant event property.
3. Add the necessary code to handle the form submission and redirection. You can use the Navigate function to redirect to another screen or page in your app. The Navigate function takes two arguments: the destination screen and an optional transition effect.
4. In the formula for the "OnSelect" property, use the Navigate function with the desired screen name:
For example, let's assume you have a screen named "ConfirmationScreen" where you want to display the submitted data. Your code would look like this:
```powerapps
SubmitForm(YourFormName);
Navigate(ConfirmationScreen, None); // You can specify a transition effect like "Fade" instead of "None" if you want a transition animation.
```
Replace "YourFormName" with the actual name of your multi-step form.
5. Save your changes.
Now, when the user submits the multi-step form by clicking the button or action you modified, the form will be submitted, and the app will automatically navigate to the "ConfirmationScreen" where you can display the submitted data or any custom message you want.
Make sure you have created the "ConfirmationScreen" or the screen you want to navigate to after form submission. You can design this screen to display the submitted data using labels, galleries, or any other controls you prefer.
That's it! With these steps, you can redirect to another page after the user submits the multi-step form in Power Apps.
Hi @twinstars07 ,
Create another form step of type "Redirect". You can redirect user to another Page on submission of your form instead of showing a success message.
Please checkout following link for more details:
https://learn.microsoft.com/en-us/power-pages/configure/add-redirect-step
Feel free to ask, if you have any questions.
Thanks,
Saud
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional