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.

Calculation for validation

  1. jcollier

    Rather than a CAPTCHA, is there any way to prompt a calculation field to verify the user is a person? Example:

    12 + 16 = [ ]

    Posted 13 years ago on Tuesday January 19, 2010 | Permalink
  2. Currently, no. But we have discussed it internally and it has also been requested by others so it will most likely be added as a feature in a future release. I can't promise it will make it into the next feature release (1.4) but definitely will be added down the road.

    Posted 13 years ago on Tuesday January 19, 2010 | Permalink
  3. jcollier

    Thank you!

    Posted 13 years ago on Tuesday January 19, 2010 | Permalink
  4. jcollier

    BTW, this feature is a requirement for sites with research funding and ADA/508 requirements. CAPTCHA is not accessible with screen readers.

    We're about one week away from making a recommendation for using Gravity Forms with 110 discrete sites. Unfortunately, this is a show-stopper. :(

    Posted 13 years ago on Saturday February 27, 2010 | Permalink
  5. In Gravity Forms v1.3.10 we made some enhancements to the NUMERIC FIELD that make it possible to use it for captcha purposes to ask a math question. The downsides to it are 1) the math question doesn't change with each viewer and 2) it isn't an image based math captcha. But it is usable for simple math challenge purposes.

    - Add a numeric field to your form

    - Set the field label to the question (ex. "What is 3+2?")

    - Set the minimum and maximum range values both to the answer (ex. minumum 5 ad maximum 5)

    - Set the field as required

    - Go to the advanced tab for that field and change the validation message to something like "Please check your math..."

    Now when anyone fills out the form if they don't enter the correct answer as the value... the form won't validate. You set the minimum AND maximum range values to the answer because that will mean thats the only answer that will validate.

    This only works with Gravity Forms v1.3.10+ and it isn't a perfect solution... but should be usable.

    Posted 13 years ago on Monday March 1, 2010 | Permalink
  6. jcollier

    I implemented this option several months back, and forgot to say thank you. This is exactly what I needed, and it works great.

    Posted 13 years ago on Tuesday July 6, 2010 | Permalink
  7. jcollier

    BTW, at some point recently, a visible prompt for the range began appearing in the published form.

    --- Security question: What is 11 + 7?* [ ]

    --- Please enter a value between 18 and 18. <-- This is new

    I really don't want to give away the answer, since I'm using the field as a security test.

    Is there any way to remove that range prompt with a CSS display:none hack?

    Posted 13 years ago on Thursday August 5, 2010 | Permalink
  8. You can remove the range prompt by entering a custom error message in the Advanced tab for that field. That will take override the default range error message.

    The 1.3.14 release will add support for the Really Simple Captcha plugin for an alternative to reCAPTCHA. We also implemented a match captcha option with Really Simple Captcha that uses 3 separate images for the math problem (first digit, + symbol and second digit).

    Posted 13 years ago on Thursday August 5, 2010 | Permalink
  9. jcollier

    Thank you. That was exactly what I needed to know!

    Posted 13 years ago on Thursday August 5, 2010 | Permalink
  10. Hello,
    This is good, but with all the advance features for this plugin contact form 7 is so much more powerful.

    We simple enter "[quiz quiz-655 class:input "Let us know you are human:1+1=?|2" "Let us know you are human:1+2=?|3" "Let us know you are human:1+3=?|4" "Let us know you are human:1+4=?|5" "Let us know you are human:1+5=?|6" "Let us know you are human:1+6=?|7" "Let us know you are human:1+7=?|8" "Let us know you are human:1+8=?|9" "Let us know you are human:2+1=?|3" "Let us know you are human:2+2=?|4" "Let us know you are human:2+3=?|5" "Let us know you are human:2+4=?|6" "Let us know you are human:2+5=?|7" "Let us know you are human:2+6=?|8" "Let us know you are human:2+7=?|9" "Let us know you are human:3+1=?|4" "Let us know you are human:3+2=?|5" "Let us know you are human:3+3=?|6" "Let us know you are human:3+4=?|7" "Let us know you are human:3+5=?|8" "Let us know you are human:3+6=?|9" "Let us know you are human:4+1=?|5" "Let us know you are human:4+2=?|6" "Let us know you are human:4+3=?|7" "Let us know you are human:4+4=?|8" "Let us know you are human:4+5=?|9" "Let us know you are human:5+1=?|6" "Let us know you are human:5+2=?|7" "Let us know you are human:5+3=?|8" "Let us know you are human:5+4=?|9" "Let us know you are human:6+1=?|7" "Let us know you are human:6+2=?|8" "Let us know you are human:6+3=?|9" "Let us know you are human:7+1=?|8" "Let us know you are human:7+2=?|9" "Let us know you are human:8+1=?|9"]"

    For the random answer and response required. Can't you do this pretty easily? Its amazingly powerful, users love it. And we would really like to see it in gravity forms.

    Thank you.

    Posted 12 years ago on Monday November 22, 2010 | Permalink
  11. Gravity Forms has a math captcha using the Really Simple Captcha field. It doesn't allow you to input your own math questions and then randomly select one. The Really Simple Captcha field randomly generates one dynamically.

    The Really Simple Captcha plugin then generates a math question using 3 different images (first digit, plus or minus symbol and then second digit). Using images instead of text for the actual question is better for anti-spam because bots are intelligent enough to answer math questions when presented via text but won't be able to figure out the 3 images go together to form a math question.

    If you think Contact Form 7 is more powerful than Gravity Forms because of this then you are way off base.

    Posted 12 years ago on Monday November 22, 2010 | Permalink
  12. Thank you.
    We will try it out!

    I love being off base, its the only way to learn. :)

    Posted 12 years ago on Monday November 22, 2010 | Permalink
  13. I have a client that wants to create a order form. I want to use simple drop downs. The person needs to select the height of the frame and width of the frame. The width and height would then be multiples together to get a total area that would calculate into a price. This is really important feature for anybody trying to simplify quick quote order forms for online purchases.

    Posted 10 years ago on Sunday February 10, 2013 | Permalink
  14. How many height and width values would be in your drop downs?

    After the height and width are multiplied together, what are you going to do with the area? Is that area multiplied by one price, per (inch? foot?).

    Do you have an example of this functionality online now in a non-Gravity Form possibly?

    Posted 10 years ago on Sunday February 10, 2013 | Permalink