Skip to content

Form Bootstrapification

Trevor Fayas edited this page Jan 1, 2022 · 2 revisions

Editing the Online Form rendering in Xperience can be a little bit of a chore. It is all done in code and can be quite confusing.

The Baseline has two things to help with this. First, it has our Bootstrap Layout Tool which has a dynamic Bootstrap Form Section for your online forms.

Secondly, it includes a default FormWidgetCustomConfiguration.cs class that adjusts the form to render various standard bootstrap 4 form layouts. The class also contains instructions on how you should configure your Bootstrap Sections to achieve different results.

This should hopefully aid you in rendering your forms more easily and provide some example code to customize them further.

Clone this wiki locally