smartsuite_create_form
Create a new form for a SmartSuite application. Validate fields and preview before submission, then confirm to create.
Instructions
Create a new form for a SmartSuite application. Requires readwrite/admin mode AND SMARTSUITE_ENABLE_SCHEMA_WRITE=true. The label is checked for uniqueness and any supplied field slugs are validated against the application schema first. Without confirm:true returns a dry-run preview; set confirm:true to create. Optionally seed the first input page with fields and set form settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Form name (must be unique among the application's reports) | |
| title | No | Form title shown to submitters | |
| fields | No | Optional fields to place on the first input page. Each item is a field slug string, or an object { slug, required, label, helpText }. | |
| confirm | No | Must be true to create. Omit/false for a dry-run preview. | |
| description | No | Form description | |
| submitLabel | No | Submit button label | |
| applicationId | Yes | The application ID the form submits into | |
| redirectToUrl | No | URL to redirect to after submission | |
| displaySmartSuiteBranding | No | Show SmartSuite branding on the form |