Instantiation
Get a form
Retrieve a form’s metadata, field schema, and rendered HTML/CSS:Form getters:
| Method | Description |
|---|---|
getTitle() | Display name of the form |
getFormJson() | Parsed field schema |
getFormHtml() | Rendered HTML for embedding |
getFormCss() | Associated stylesheet |
isActive() | Whether the form is accepting submissions |
getSubmissionCount() | Number of submissions received |
Submit a form
submitForm returns void on success (HTTP 201) and throws on failure.
Submitting with file attachments
The maximum total request size is 250 MB.Error handling
getForm and submitForm throw Exception on HTTP 400 (bad request) and 404 (form not found).