2

I'm looking to have a Dynamic 'Reply To' for a notification when an entry is saved from a form submissions.

I'm using the below which is what the field is named in my form, but it seems it's not allowed?

{email}

enter image description here

2
  • Using sprout forms 3.0.0-beta.44 I get the same validation error.. ( I have a email field with handle email in the form...) ![screenshot](i.sstatic.net/7xT1N.png) Commented Feb 21, 2019 at 13:32
  • @Pieter-JanDeBruyne This is resolved in the latest release (v3.0.0-beta.50) Commented Apr 10, 2019 at 14:42

2 Answers 2

3

Ran into the same issue, asked the support team, and they confirmed it's a bug.

Workaround is to comment out this line: https://github.com/barrelstrength/craft-sprout-base/blob/v2/src/app/email/elements/NotificationEmail.php#L481

Tried it and it works fine.

They said it would be fixed in an upcoming release.

1
  • This has been fixed in Sprout Forms v3.0.0-beta.21. Commented Jul 27, 2018 at 16:27
1

Dynamic values work in Sprout Forms as of Sprout Forms v3.0.0-beta.21.

You can target any value that is being submitted by your form using the shorthand syntax from your example {email} or object syntax {{ object.email }}.

2
  • I'm having the same issue in 3.0.0-beta.44, but the linked workaround is no longer accurate.
    – artmem
    Commented Feb 22, 2019 at 18:30
  • 1
    @sarah3585 we were able to recreate this issue and we'll update this post once a fix is in place
    – Andre L.
    Commented Feb 25, 2019 at 20:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.