Skip to main content

7 docs tagged with "Twig"

View all tags

Access record identifier in form redirect

The record identifier can be included in the redirect string using %s placeholder. For example, if a form is used to create a new record, and you would like to redirect to a page viewrecord afterwards, then the new record identifier can be passed in the query string:

Attachments in twig

The attachments stored in annotation entity are accessible using a special purpose-built URL:

Messages in custom twig form

Messages in twig forms can be customized using messages property. That approach, however, does not work for custom twig forms where the form is provided as part of the {% form %} tag.

Twig Templates

Twig templates give you a powerful tool to create a custom experience for your users.