form redirect in Kentico 13 not working

Faye Spath asked on January 5, 2022 15:49

when I submit my form I getting the error on the page {"redirectTo":"/Clearance-and-Settlement/Corporate-Action-Information-Submission-Form/Thank-You"} Anyone else experience this? I saw there was a answer for kentico 12 of adding @Html.Kentico().PageBuilderScripts() this didnt work for me

Correct Answer

Brenden Kehren answered on January 5, 2022 20:58

Where are you adding the @Html.Kentico().PageBuilderScripts() or <page-builder-scripts /> if you're using .NET Core?

1 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on January 5, 2022 18:49

Tell us what you've done and what hotfix you're on. Some questions for you:

  1. Does this page/URL exist in your content tree? /Clearance-and-Settlement/Corporate-Action-Information-Submission-Form/Thank-You
  2. Have you properly set the from properties up?
  3. Are you using the out of the box Form widget?
  4. Do you receive any other errors in the event log or in the javascript console?
1 votesVote for this answer Mark as a Correct answer

Faye Spath answered on January 5, 2022 20:15

I can navigate to it from the live site so yes it is in the page tree. Just added a content page that have my form I set the redirect URL to the above when I submit it inserts the record into the db and then I get that message in the browser. there are no javascript errors. Using version v13.0.41

1 votesVote for this answer Mark as a Correct answer

Faye Spath answered on January 5, 2022 21:05

Actually the main form is getting an error e/js/legacy.js net::ERR_ABORTED 404 Uncaught TypeError: Cannot read properties of undefined (reading 'updatableFormHelper') at HTMLDocument.

1 votesVote for this answer Mark as a Correct answer

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