Add form in footer without page builder in kentico mvc

web dev asked on February 26, 2020 12:43

hello kentico dev how i can add a form in footer but without page builder because i cant access to it i need a valid method thanks

Recent Answers


David te Kloese answered on February 26, 2020 12:57

You 'll have to build something to handle the rendering and actions.

Have a look at this article by Lee Conlin on some pointers: medium.com/.../using-forms-in-kentico-12-mvc-without-the-page-builder

1 votesVote for this answer Mark as a Correct answer

web dev answered on February 26, 2020 13:19

but i get error here var formComponents = Dependencies.FormProvider.GetFormComponents(formInfo) .GetDisplayedComponents(ContactManagementContext.CurrentContact, formInfo, existingBizFormItem, FormComponentVisibilityEvaluator);

0 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on February 27, 2020 03:36

You may need to use Page Builder to be honest. If you use the Partial Widget Page, you can load in a fully page-builder element as the footer.

https://devnet.kentico.com/marketplace/partial%20widget%20page

Should work, haven't done a form myself yet, but we have the header and footer as pages with page builder and pull them in with this into the main layout's header/footer.

0 votesVote for this answer Mark as a Correct answer

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