In this guide, you'll learn how to perform common customisations on subcomponents in your Form component. Please note you will need to be using the new Page Builder v2 to achieve these customisations.
Not all of these customisations are available on all Field types.
How to change the label on a field
- In your page, click the purple pencil icon of the Form component you want to customise.
- Click Edit Subcomponents in the right panel.
- Find the subcomponent you want to change the label for, and click the line to expand.
- Change the Label field.
- Press Confirm.
- Press Confirm in the right panel.
- Press Save to rebuild your page, and publish when you are ready.
How to add a character limit to a field
- In your page, click the purple pencil icon of the Form component you want to customise.
- Click Edit Subcomponents in the right panel.
- Find the subcomponent you want to add a character limit to, and click the line to expand.
- Set a character limit using the Minimum length and Maximum length fields.
- For example, if you want a first name field to be between 2-30 characters, you would set the Minimum length field to 2, and the Maximum length field to 30.
- You can set one length field without setting the other.
- Press Confirm.
- Press Confirm in the right panel.
- Press Save to rebuild your page, and publish when you are ready.
How to add validation to a field
- In your page, click the purple pencil icon of the Form component you want to customise.
- Click Edit Subcomponents in the right panel.
- Find the subcomponent you want to add validation to, and click the line to expand.
- Add a regular expression (regex) to the field called Validation regular expression.
- Press Confirm.
- Press Confirm in the right panel.
- Press Save to rebuild your page, and publish when you are ready.
How to add a tooltip to a field
- In your page, click the purple pencil icon of the Form component you want to customise.
- Click Edit Subcomponents in the right panel.
- Find the subcomponent you want to add validation to, and click the line to expand.
- Add text to the Tooltip message field.
- If left blank, there will be no tooltip.
- If populated with text, an icon will appear next to the field label in the Shop to customers. when a customer hovers over it, the tooltip text will be displayed.
- Press Confirm.
- Press Confirm in the right panel.
- Press Save to rebuild your page, and publish when you are ready.
Comments
0 comments
Please sign in to leave a comment.