- HTML Contents blocks are parsed literally. You can use use the static site class names.
- The
Custom CSS Classfield under theAppearancetab of a field is used as theidof inputs on the static site. - The
Descriptionsection is not used. - All forms will validate captcha. No need to add a captcha field from the CMS.
- Do not use a
Radio buttonsfield for inputs with a single option. Use aCheckboxinstead. - All fields are required.
- Set the form title from within the form settings.
- Set the submit button text from within the settings page.
Form Button > Button Text - Set the redirect URL from the confirmations page.
Default confirmation > confirmation type = redirect
library/api.js- The Form ID is displayed within wordpress when editing a form.
- Must link new form to validations via ID.
- Append new form within the
setUpFormsfunction. - Add custom styles if neccesary.
- Navigate to root directory
- Make sure latest version of node is installed
npm installnpx babel library/js/api --out-file library/js/api.min.js --presets minify- Or if you want the script to watch for updates:
npx babel library/js/api --watch --out-file library/js/api.min.js --presets minify --verbose