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
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
but i get error here var formComponents = Dependencies.FormProvider.GetFormComponents(formInfo) .GetDisplayedComponents(ContactManagementContext.CurrentContact, formInfo, existingBizFormItem, FormComponentVisibilityEvaluator);
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.
Please, sign in to be able to submit a new answer.