Setting the receiver email dynamically from a page property value?
Hi,
Can anyone tell me if it's possible to do the following:
Have a single form embedded on multiple pages using a shared doctype and template
On the embedded form, determine the 'receiver email' value based on the value of a 'receiverEmail' textstring on that specific page
Do this in a way that prevents the email address from being viewable in the page's source code (e.g. not simply passing the email address as a macro parameter in plain text)
This would be very helpful for a specific use case of mine, where a form needs to be reused but go to different recipients. Any suggestions are appreciated!
I wonder if this is possible when using Block List editor as well.
For example a Contact Form block which has two picker: Form Picker and Employee picker (MNTP).
It would be great to be able to use e.g. email property from the selected employee and send the template mail to this email and could have a fallback in case no employee was selected or the email property was empty.
Setting the receiver email dynamically from a page property value?
Hi,
Can anyone tell me if it's possible to do the following:
This would be very helpful for a specific use case of mine, where a form needs to be reused but go to different recipients. Any suggestions are appreciated!
Thanks,
David
There are Some Magic strings if i understand the Documentation correct the can be used also on the settings of a workflow..
https://our.umbraco.com/documentation/Add-ons/UmbracoForms/Developer/Magic-Strings/
Perfect, thank you!
Update: The magic strings did exactly what I was looking to do.
I wonder if this is possible when using Block List editor as well. For example a Contact Form block which has two picker: Form Picker and Employee picker (MNTP).
It would be great to be able to use e.g. email property from the selected employee and send the template mail to this email and could have a fallback in case no employee was selected or the email property was empty.
It is possible to use workflows to send email to the person who fill out the form: https://our.umbraco.com/forum/umbraco-7/developing-umbraco-7-packages/74933-umbraco-forms-send-email-copy-of-form-to-the-person-who-fill-out-the-form#comment-239759
I wonder if we can handle this by passing in the email or it requires a custom workflow to handle this.
is working on a reply...