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

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 {{this.alias}} instead of rendering the alias as static text.
This is already being done for the reCaptcha script and it works well.

eg:

2 Likes

Thanks @Adam.Wilson - Added here: Form Layout to use `this.Alias` in the Form Action by default

Let me know if you want to add or edit anything :slight_smile:

1 Like