authentication_form_input_name

Returns a string that can be used as name for HTML input tags inside an authentication 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 a content field of an authentication type (i.e. not one of 'password' or 'email'), for example "first_name".

Use this tag in combination with the register_authentication_field tag.

Input:

{{ "first_name" | authentication_form_input_name }}

Output:

authentication_form[first_name]