PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Custom validation error message upon hidden field.

  1. Hello,

    I have this form...

    Click here to see screenshot

    This simply consists of...

    1. 1. Radio Buttons
      (6 choices)
    2. Single Line Text
      (hidden by a class) + automatically detects the IP as a default value + does not allow duplicates

    Now is it possible to change the main error validation message using the functions.php?

    See how my form below reacts when submitted...

    Click here to see screenshot

    The form on the RIGHT - is when no radio button is selected, which is to be expected.

    The form on the LEFT - is when a radio button is selected, but entry has already entered from the same IP. Is there anyway I can change the main error validation message to say something like "Sorry you can only enter once"

    Thanks

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink
  2. David Peralty

    Here is a great tutorial about limiting form submission by IP for a time limit that might help you with what you want:

    http://gravitywiz.com/2012/05/12/limit-ip-to-one-submission-per-time-period/

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink
  3. This worked great thank you!!!

    Josh

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink

This topic has been resolved and has been closed to new replies.