You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following configuration in my form configuration:
from_name: namefrom_email: email_address
I expect from_name and from_email to be substituted with value from name and email_address fields defined for the form:
fields:
name:
type: textoptions:
required: truelabel: Name and surnameattr:
placeholder: Place your name here...constraints: [ NotBlank ]email_address:
type: emailoptions:
required: truelabel: E-mail addressattr:
placeholder: Your e-mail addressconstraints: [ NotBlank, Email ]
However, it seems not to happen as on submission I'm receiving 500 error: An exception has been thrown during the rendering of a template ("Email "email_address" does not comply with addr-spec of RFC 2822."). It looks that email_address is treated as a string literal rather than field name.
bolt/core 4.2.2 🧿 Bolt 4 Core
bolt/forms 1.4.7 📦 This Bolt extension can be used to handle forms in your Bolt 4 project.
The text was updated successfully, but these errors were encountered:
I have the following configuration in my form configuration:
I expect
from_name
andfrom_email
to be substituted with value fromname
andemail_address
fields defined for the form:However, it seems not to happen as on submission I'm receiving 500 error:
An exception has been thrown during the rendering of a template ("Email "email_address" does not comply with addr-spec of RFC 2822.").
It looks thatemail_address
is treated as a string literal rather than field name.The text was updated successfully, but these errors were encountered: