• Resolved dschmidtke

    (@dschmidtke)


    Using field names with hyphens like my-field-name in a form, those are submitted correctly, but they are not evaluated/parsed in the message body of an action email.

    Steps to reproduce:

    • Create email action
    • use {{fields.my-field-name}} in action message

    is not evaluated/not replaced with the value in the resulting email.

    However

    • renaming the field to myfieldname (without hyphens) and
    • using {{fields.myfieldname}} in action message

    is properly evaluated/replaced with the submitted value.

    Please fix this!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author tropicalista

    (@tropicalista)

    Please can you check if latest version solve your problem?

    Thread Starter dschmidtke

    (@dschmidtke)

    Well, the site is in production now and I won’t rename my form fields again after removing all hyphens, so I don’t test it, but I trust you fixed it.

    In this context, I noticed that in the action email a field value of “0” is evaluated as empty (typical PHP pitfall) and therefore not printed, while in the form entries table it is correctly listed as “0”.

    Plugin Author tropicalista

    (@tropicalista)

    This is fixed.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘field tags with hyphens in action email are not parsed’ is closed to new replies.