Skip to main content
This page contains all actions related to submitting forms. The associated messages and email templates that are output when forms are sent through the shop are documented here — for example, for contact, inquiry or service forms.

actions.inquirySend - Submit form

The inquirySend action controls the error messages when submitting a contact or inquiry form.

Example configuration actions.inquirySend

{
  "errorCodes": {
    "captchaFailed": "<Textbaustein>",
    "missingEmail": "<Textbaustein>",
    "emailCheckFailed": "<Textbaustein>",
    "emptyForm": "<Textbaustein>",
    "missingFormId": "<Textbaustein>",
    "invalidFormId": "<Textbaustein>",
    "createInquiryFailed": "<Textbaustein>"
  }
}

Parameter overview

ParameterTypeDescription
errorCodesobjectConfigures the error codes used for problems during the action.
captchaFailedstringError message output when the captcha check fails.

missingEmailstringError message output when no email address was supplied although it is required.

emailCheckFailedstringError message output when the provided email address is considered invalid.

emptyFormstringError message output when the submitted form is empty.

missingFormIdstringError message output when no form ID was supplied.

invalidFormIdstringError message output when the supplied form ID is invalid or the form cannot be found.

createInquiryFailedstringError message output when the inquiry could not be technically saved or forwarded.


actions.inquiryCheck - Check form

The inquiryCheck action checks the current form content without submitting the form. It evaluates the rules defined in the linked RuleSet (see inquiry - Forms) and updates the field attributes ($field.required, $field.label, $field.defaultValue, $field.value, $field.visible) accordingly. For example, fields can be shown or hidden, marked as required or pre-filled with a default value. The action can be used as an auto-submit on the <form> element so that a new check is automatically triggered on every input change. This allows the form to adapt dynamically to the user’s input.