Hello,
I am trying to populate the "Send to Email" field under the notification section with a custom field I have in a post with the form on it. I have unsuccessfully tried 2 different methods and both did not work.
The error I get on the field when saving on both is "Please enter a valid email address"
** Method 1
I first tried to add the merge code to the input field in notifications as so
{custom_field:[name]}
in my case this was {custom_field:[emailaddresses]}
this gave the validation error that it was not an email address when saving
** Method 2
I then tried adding a custom field to the form itself and set it to admin so it was hidden from users. I think tried passing that field value in to the notification to see if that would work but same issue. I used the following code
{[Field Name]:[1]}
wjere my field ID was '1'
Would really appreciate help on this as I will have 300 posts all using the same form but have different email addresses in each that they need to get sent to.
Thanks