Support » Plugin: Contact Form 7 » [Plugin: Contact Form 7] Custom, text box error messages

  • blakepeterman

    (@blakepeterman)


    Does anyone know how to display a custom error message if someone leaves a name box blank. Then a different message if someone leaves a email box blank.

    I know about the message if a email entered is not a email, but what about a blank email no text at all.

Viewing 11 replies - 1 through 11 (of 11 total)
  • webjunk

    (@webjunk)

    Why not just make those field Required?

    blakepeterman

    (@blakepeterman)

    Thats what I mean, the boxes are required. But I want different error messages for different text boxes.

    goddesskarla

    (@goddesskarla)

    When you log into your dashboard / contact .. below your form you have an area called Messages..

    K

    blakepeterman

    (@blakepeterman)

    goddesskarla, I know about that.
    I guess I am not being real clear let me describe a scenario.

    A.) I have text box labeled name:
    B.) I have another text box labeled phone number:

    Say some one leaves both boxes empty,

    For box ‘A’ I would like a error message to state we need your name.

    For box ‘B’ I would like a error message to state we need your phone number.

    Something like this
    Thanks for your support.

    goddesskarla

    (@goddesskarla)

    You might want to consider using cforms II http://www.deliciousdays.com/cforms-plugin/ It has lots of editing capabilities that Contact Form 7 doesn’t offer. K

    blakepeterman

    (@blakepeterman)

    I like the easy use of cf7, but it does offer the individual error messages like I want.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    I’d suggest using watermark instead like:

    [text* your-name watermark "We need your name"]
    [text* your-phone-number watermark "We need your phone number"]
    blakepeterman

    (@blakepeterman)

    What is the watermark?

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    A new feature introduced in Contact Form 7 2.4. You’ll get how it works soon after you try it.

    I don’t want default text.

    I want to display specific error messages based on the textbox it corresponds to.

    Currently they have a error message but it is the same for every text box. I want to be able to customize it base on the text box.

    The solution was gravity forms! It offers custom error messages.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: Contact Form 7] Custom, text box error messages’ is closed to new replies.