• Resolved natealth

    (@natealth)


    Hi all

    I’m dynamically populating an email field with a $_GET variable, and then sending an email to that field. I’m running into problems with the form not validating the form because it doesn’t think it’s an email address. Is there a workaround to this or is it in development?

    Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tessa (they/them), AuRise Creative

    (@tessawatkinsllc)

    DTX works with CF7’s validator so I’m going to ask a few clarifying questions:

    1. Are you using Contact Form 7 version 5.7 or higher?
    2. Are you using Contact Form 7 – Dynamic Text Extension version 4.0.0 or higher?
    3. What form tag are you using? I’m assuming dynamic_email or dynamic_hidden? Can you copy/paste the full form tag, please?
    4. When you say, “it doesn’t think it’s an email address,” what is the exact error message?

    Does this page or this page address the error at all?

    Also putting the Validator FAQ link here too in case that has any answers for you.

    Thread Starter natealth

    (@natealth)

    I currently have v5.9 of CF7 and 4.2.3 of CF7 – Dynamic Text Extension

    I’m using this tag: [dynamic_email agentemail “CF7_GET key=’agentemail'”]

    in the mail tab, I have [agentemail] in the To field and the error it is giving me is ‘Invalid mailbox syntax used’

    Plugin Author Tessa (they/them), AuRise Creative

    (@tessawatkinsllc)

    I haven’t forgotten! I’m able to recreate the issue some of the time which makes debugging it challenging. I’ll let you know when I’ve released a fix ??

    Thank you for your patience!

    Plugin Author Tessa (they/them), AuRise Creative

    (@tessawatkinsllc)

    Turns out I was checking for the CF7 dependencies too soon and it always returned false, so the custom validator wasn’t enabled. This has been fixed in version 4.3.1 so you should be all good to go now! Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Email Field Validation’ is closed to new replies.