• Form:

    <p>To:<br /> [select your-recipient "Elders|oversight@newmarket.gospelhall.com"
                        "Sunday_School|sundayschool@newmarket.gol.com"
                        "Events|events@newmarket.go.com"
                        "WebSite|sitebew@newmarket.go.com"]</p>
    <p>Your Name (required)<br />
        [text* your-name] </p>
    
    <p>Your Email (required)<br />
        [email* your-email] </p>
    
    <p>Subject<br />
        [text your-subject] </p>
    
    <p>Your Message<br />
        [textarea your-message] </p>
    
    <p>[submit "Send"]</p>


    Mail:

    [your-recipient]

    This works, but I would like to get rid of the syntax error if possible

    https://wordpress.org/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • Try making the select required to see if that gets rid of the validation error:

    [select* your-recipient "Elders|oversight@newmarket.gospelhall.com"
                        "Sunday_School|sundayschool@newmarket.gol.com"
                        "Events|events@newmarket.go.com"
                        "WebSite|sitebew@newmarket.go.com"]

Viewing 1 replies (of 1 total)
  • The topic ‘Contact Form 7 To; field give syntax error’ is closed to new replies.