Form Submit action

Richard Gale asked on September 16, 2016 13:30

When a user clicks submit on a Kentico form, is it possible to undertake a different action depending on one of the dropdown options they have selected in the form.

If they select option A. then I just want to display the text "Thank you for your feedback"

If they select option B. then I want to redirect them to another page.

Is this possible?

Correct Answer

Jan Hermann answered on September 16, 2016 14:03

It's possible by customizing the web part, but what if you always redirect your visitors to some page and it would be either thank you or different page since you can use macros there. {%option=="first"?"/thankyou.aspx":"/other.aspx"|(identity)GlobalAdministrator%}

1 votesVote for this answer Unmark Correct answer

Recent Answers


Richard Gale answered on September 16, 2016 14:12

Would that just go in the redirect url field Jan?

0 votesVote for this answer Mark as a Correct answer

Jan Hermann answered on September 16, 2016 22:59

Yes :-)

0 votesVote for this answer Mark as a Correct answer

Richard Gale answered on September 21, 2016 12:12

Thanks for your assistance Jan.

0 votesVote for this answer Mark as a Correct answer

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