Kentico MVC 12 - Form Builder properties tab is empty

Anna Pengal asked on November 6, 2020 18:54

When trying to use the form builder in Kentico v12.0.65 MVC the properties tab is empty, and I get an error that says:

 Uncaught ReferenceError: $ is not defined
at HTMLDocument.<anonymous> (1?uh=d8c88321ca9b44e8723bb71d6b473627c2c41213b9df1f9f2cee116ff3215709&builder=formBuilder&administration
at t.renderMarkup (form-builder.js:1)
at form-builder.js:1

I am seeing this error in all of our environments. I have tried replacing the form-builder.less file in the App_Themes folder of the Admin site, but that didn't make a difference. Is there anything else I can try?

Correct Answer

Dmitry Bastron answered on November 6, 2020 19:06

Hi Anna,

This error $ is not defined typically means there is no jQuery library referenced or there are issues with it. Make sure you have page builder set up correctly (as per documentation). In particular, make sure you have @Html.Kentico().PageBuilderScripts() call in your views or layout. And check the part re jQuery in the documentation link above.

0 votesVote for this answer Unmark Correct answer

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