Help with setting CF7 Mail “To” field from custom field?
-
Hope someone can give me a bit of help! I am following the instructions here: https://sevenspark.com/wordpress-plugins/how-to-dynamically-set-the-recipient-to-email-address-in-contact-form-7
1. I created a custom field named user_email. Custom field type is email, and is required.
2. I created a CF7 form, placed a dynamic hidden field with this shortcode: [dynamichidden recipient-email “CF7_get_custom_field key=’user_email'”]
3. I created a page, placed the form shortcode and entered a value in the user_email field.
4. Placing [recipient-email] in the message body of the mail panel puts the custom field data into the email. All good.
5. Instructions say: Copy the name tag [recipient-email] into the To: input. BUT placing [recipient-email] in the To field of the mail panel gives a configuration error: Invalid mailbox syntax is used. Form is broken.
So I’m confused. How should this be done?
- The topic ‘Help with setting CF7 Mail “To” field from custom field?’ is closed to new replies.