After creating our form (for more info go to the dedicated section), we can download the HTML code to be able to insert it directly into the pages of our website.
From the “Website – Forms” section, select the form whose code we want and click on “Manage -> Fetch HTML”.
A screen will open from which we can copy the HTML code and paste it into our Website.
Form Validation
As with forms that are inserted into Behavioural Messages, once you click on the “submit” button of the form, the class will be added “.adb-invalid” to the requested and uncompiled inputs and to the invalid inputs and it will be possible to create the appropriate CSS rules, within the style sheet of the website, for the management of the error graphics
Step form
If the form we are going to paste into our website is a Steps Form, we can insert any animations, with CSS.
The first and subsequent step form advances are appended with the “.adb-activeStep” class for the currently active step and the “adb-hiddenStep” class for the other steps.
Thanks for contributing!