Create and manage form layouts
Click on any form field in the canvas to configure its settings here.
{{ formStore.selectedComponent.props.label || formStore.selectedComponent.props.name || 'Untitled' }}
Get started by creating a new form or navigate back to manage your existing forms.
Configure the default submit button that appears at the bottom of your form. Note: If you add a custom submit button component to your form, the default button will be hidden automatically.
When enabled, a submit button will appear at the bottom of your form unless you add a custom submit button component.
This is how your submit button will appear in the form.
Write custom JavaScript to add dynamic behavior to your form. Scripts run securely in a sandboxed environment with access to form fields and utility functions.
getField('name')
- Get field valuesetField('name', value)
- Set field value and trigger eventshideField('name')
- Hide a fieldshowField('name')
- Show a fielddisableField('name')
- Disable a fieldenableField('name')
- Enable a fieldvalidateField('name')
- Trigger field validationgetAllFieldValues()
- Get all form values as objectonFieldChange(['field1', 'field2'], callback)
- Listen for field changesshowSuccess('message')
- Display success notificationshowError('message')
- Display error notificationshowInfo('message')
- Display info notificationquerySelector('selector')
- Safe DOM querying within formonFieldChange
with the same trigger field:Math.*
- Mathematical functions (Math.round, Math.max, etc.)Date
- Date object for date/time operationsNumber()
, String()
, Array
- Type conversionsetTimeout()
, setInterval()
- Timing functionsconsole.log()
, console.warn()
- Debug logging
Add custom styles to enhance your form appearance. Use .form-container
to target the form.
.form-container
- Main form wrapper.form-field
- Individual form fields.form-field[data-name="fieldName"]
- Specific field.form-section
- Form sections.form-submit
- Submit button.info-display
- Info display componentsonFieldChange
handlersConfigure when your custom scripts should run. Field change events are detected automatically in real-time when users interact with form fields.
onFieldChange()
callbacks to work in your scripts.
This section displays the complete form configuration as JSON for developers.
Changes made to JSON directly will replace your form configuration when you click "Apply JSON Changes". Ensure the JSON is valid before applying changes.
Are you sure you want to leave? Your changes will be lost.
Click the Preview button to see how your form will look to users. In preview mode: