Redirecting using a button

sixdeuces 08 May, 2020
This is probably way easier than I'm making it. As the title says, I just want to add a "Return to Start" button to the "Thank you" page that redirects back to the start of the form.

I've added the button to the page view, and I assume it needs a corresponding action, but I can't find anything in the documentation. I would think the Redirect action would be what I'm looking for, with 'load' in the Page field of the action. But then how do you trigger the redirect from a button? That's where I'm lost.

Any guidance would be greatly appreciated!
GreyHead 08 May, 2020
Answer
1 Likes
Hi sixdeuces,

The simplest way is to use a link and format it to look like a button.

NB you may need to add a parameter to the link to tell the form to unset any existing data before the user starts again e.g. &state=restart

Bob
sixdeuces 08 May, 2020
Thanks very much. That's simple enough, I suppose! Clearing the data is a great idea, too.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger