Request

Form Layout to use `this.Alias` in the Form Action by default

  • Forms

The default Form Layout generates the form action attribute to include the Form’s alias (which is critical for the Form to function correctly).
Currently, this alias is output as static text and so if the form’s alias ever changes, the layout also needs to be updated.
Also, I’ve seen many problems arise from forms being duplicated or having their layouts copied to new forms and they fail to work because the alias in the Form’s action attribute has been overlooked and is still set as the original Form’s alias.

A simple fix would be to use the Liquid tag instead of rendering the alias as static text.
This is already being done for the reCaptcha script and it works well.

eg: