WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Response message defaulting to Please fill the required field (1 post)

  1. JoshingTalk
    Member
    Posted 1 year ago #

    Hi guys,

    I'm using a form to get the date of birth of a client. If they are older than 30, then they cannot submit the form. If they attempt to submit the form, they need to get the response error message saying 'You have to be younger than 30!'.
    At the moment, the response message they get is 'Please fill in the required field.'
    How do I change this to say 'You have to be younger than 30!'?

    I have edited the response message of the 'date is earlier than minimum limit' to say the above message.
    Here's what my form looks like:

    <b>First Name: [text* your-first-name]
    Last Name: [text* your-last-name]
    Date Of Birth: [date* date-634 min:1983-01-01 "You have to be younger than 30!"]
    Please email my YEhangout invite to: [email* your-email]
    I also have Twitter- my username is:  [text text-225 id:Twitter]</b>
    
    <p>[submit "Send"]</p>

    Thanks,

    Josh

    http://wordpress.org/extend/plugins/contact-form-7/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.