Actions overview
| Action | Description |
|---|---|
InquirySend | Submits an inquiry form with the specified parameters. |
InquiryCheck | Checks the inputs of a form without submitting it. |
Actions
InquirySend
This action submits an inquiry form. The submitted entries are checked and the inquiry is processed. If processing fails, a corresponding error is returned so the user can correct their entries. Usage exampleUseful for embedding a contact form on a page through which customers can submit an inquiry. After clicking “Submit”, the form is validated and the inquiry is transmitted. Parameters
| Parameter | Description |
|---|---|
email | The sender’s email address. |
formId | The ID of the form to be submitted. |
| Error code | Description |
|---|---|
missingEmail | No email address was specified. |
emailCheckFailed | The specified email address is invalid or could not be verified. |
emptyForm | The form contains no entries. |
missingFormId | No form ID was passed. |
invalidFormId | The specified form ID is not valid. |
formCheckFailed | The form check failed. |
createInquiryFailed | The inquiry could not be created. |
InquiryCheck
This action checks the inputs of a form without actually submitting the inquiry. The checked field values are written back to$myField.value and can be reused in the frontend.
Usage exampleUseful for validating form inputs before final submission and giving the user direct feedback on their entries. Parameters
| Name | Description |
|---|---|
email | The sender’s email address. |
formId | The ID of the form to be checked. |
| Error code | Description |
|---|---|
missingEmail | No email address was specified. |
emailCheckFailed | The specified email address is invalid. |
missingFormId | No form ID was passed. |
invalidFormId | The specified form ID is not valid. |
formCheckFailed | The form check failed. |
