Prefilling Forms
Specific input elements (DOM nodes) can be marked to be prefilled by the widget
To not overwrite potential changes the member makes to the prefilled values, filling of these inputs will only be done once, immediately after they are rendered, or after a member logs in. If a member logs out, and another member logs in, the values will not be updated!
The available data types can be found here
Examples
Text inputs (input type="text", type="email", type="hidden", textarea)
Text and number type fields will be rendered normally Select (radio) type field value will be used to fill out the input Multiple select field selected values will be comma and space separated ("apple, pear") Checkbox type fields will be rendered as "Yes" or "No", translated per the selected language
Radio buttons (input type="radio")
The value attribute needs to match exactly (case sensitive) to the stored value in order to be selected
Dropdown (select)
The value attribute needs to match exactly (case sensitive) to the stored value in order to be selected
Checkbox (input type="checkbox")
The checkbox will only be updated if the referenced custom input is also of checkbox type
Last updated