...
output_as
Only accepts 'json' as value. Returns a JSON hash that can be used as a payload when POSTing to the form_messages
endpoint as a JSON request. See https://plate.atlassian.net/wiki/spaces/DOCS/pages/20578657/form#JSON-endpoint for more info on how the request works.
Examples
Input:
Code Block |
---|
{% form for: form, to: form.email, success_url: form.success_page_link, enable_recaptcha: true %} {% for field in form.field_lines %} {% include field %} {% endfor %} <div> <input type="submit" > </div> {% endform %} |
...