Form | UI components (BETA)
Prop | Type | Description |
---|---|---|
onSubmit |
Function | The function that is called when the form is submitted. It will receive a RemoteEvent as an argument and its return value will be ignored. |
autoComplete |
'on' (default) | 'off' |
Set this field to 'off' to prevent autocompletion software (e.g., browser, password managers) from auto-filling form fields. Based on the autocomplete HTML attribute. |
- DO: include text inputs when a user should be able to submit any value.
- DO: include select inputs when a user should only be able to select from a set of values.
- DO: include descriptions and placeholder text to provide context to users.
- DO: always position the submit button at the bottom of the form.
- DON'T: include a form without a submit button.
Thank you for your feedback, it means a lot to us.
This form is used for documentation feedback only. Learn how to get help with HubSpot.