Redirect to referring URL after form submission

momentis 22 Apr, 2015
I have a form used for editing records in a table. This edit form can be accessed from two different CC connections. Upon edit and submission, I would like the form to redirect the user back to whichever connection list they came from. I know how to set the BACK button to return to the referring page, but cannot figure out how to use a redirect action to accomplish this. Any ideas?

Thanks!!
Rick
GreyHead 22 Apr, 2015
Hi Rick,

Is the problem that you can't identify the referring list or that you can't add the link to the Back button, or both?

Bob
momentis 22 Apr, 2015
The BACK button works (exit without saving). Using the SUBMIT button does not. Usually, when I have a form SUBMIT, I set up a Redirect URL action that returns the user to the list they came from. As this form can come from two different lists, I cannot figure out how to make the Redirect URL work. Or am I over-thinking this?
GreyHead 26 Apr, 2015
Hi Rick,

Presumably the calling URL can identify the source list somehow. If you capture this value in a hidden input in the form you can use it on the On Submit event with an Event Switcher or a Custom Code action to change the ReDirection. Will that work?

Bob
momentis 27 Apr, 2015
Hey Bob,

That sounds plausible. I will give it a try!

Thanks!!
Rick
This topic is locked and no more replies can be posted.