Detailed explanations here: Material Design Forms
$form = new FormExtended('extended-contact-form', 'horizontal', 'novalidate', 'material'); $form->createContactForm();
The contact form below is built with just these 2 lines of code.
The FormExtended php class allows you to create your own functions. Here, for example, we call the
createContactForm() function, which in turn calls all the functions needed to create the form (creation of fields, layout, plugins, ...)