form_input_name

Returns a string that can be used as name for HTML input tags inside the the form Liquid tag. This filter must be used to ensure that an input field is processed correctly by Plate. The input for this filter is the name that represents the field, for example “Naam” or “Email”.

Input:

{{ "Name" | form_input_name }}

Output:

form_message[content][name]

Note: In order to be able to send arrays to the server, the name attribute should be appended with []. So in above example it would be form_message[content][name][].