Redirect on custom table alternate form?

Michael Purgar asked on June 24, 2020 18:25

Hopefully an easy one:

I have alternate form set up to update data in a custom table. I would like the page to redirect after the form is submitted, but not seeing anywhere to change the settings needed to set that up. What is the best way to go about that?

Thanks in advance!

Recent Answers


David te Kloese answered on June 25, 2020 09:59

Is the form entered in the Admin interface? Or used on your public website?

0 votesVote for this answer Mark as a Correct answer

Michael Purgar answered on June 25, 2020 14:45

Through the Admin interface as a Custom Table > Alternate Forms.

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on June 26, 2020 15:22

Believe that is default behavior, where would you want to redirect to?

0 votesVote for this answer Mark as a Correct answer

Michael Purgar answered on June 26, 2020 15:35

Here is the behavior we're seeing from the Custom Table forms:

User is on site/page.aspx and fills out the form, they are sent to site/page.aspx?ItemID=X where they can update the data on the entry they just created. But we need to send them back to site/page.aspx on submit so they can see all data instead. Alternately, being able to send them to some confirmation page might work as well, but a submit always send them to site/page.aspx?ItemID=X by default.

If this were a BizForm we could send the user to any page we like on submit, but the option to override the default behavior in a Custom Table Form doesn't seem to be there. We have a clunky javascript we're using for the time being, but I was hoping there was a cleaner solution available. Any ideas?

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on June 26, 2020 16:00

Ah so it's not on the admin interface...

https://docs.kentico.com/k12/configuring-kentico/creating-alternative-forms

states these are actually meant for the Admin interface which also displays the menu options to go back.

What are you using to display the form itself? A (custom) Web Part? You might be able to create something in there...

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.