Re-size Captcha for smaller forms. -...

User 2471736 Photo


Registered User
39 posts

I am seeing the recaptcha is not responsive and gets cut off.

Eric can you elaborate on using regular expressions for a type of captcha?

I wonder how suspect these are to spam being an iframe anyway? I have a couple sites and never got any spam through the form.

Thanks
A pessimist sees the difficulty in every opportunity; an optimist sees the opportunity in every difficulty.
User 2471736 Photo


Registered User
39 posts

Can this be a math problem. Like 5 + 5?
A pessimist sees the difficulty in every opportunity; an optimist sees the opportunity in every difficulty.
User 2471736 Photo


Registered User
39 posts

/^[17]{2}$/

This appears to work for a 10+7 math problem.
A pessimist sees the difficulty in every opportunity; an optimist sees the opportunity in every difficulty.
User 2471736 Photo


Registered User
39 posts

This works except both 17 and 11 work. Oh well that's fine I guess.
A pessimist sees the difficulty in every opportunity; an optimist sees the opportunity in every difficulty.
User 187934 Photo


Senior Advisor
20,271 posts

Dave did you see this article?
http://www.coffeecup.com/help/articles/ … s-captcha/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2336860 Photo


Registered User
252 posts

I use this as the expression in my form. I have them spell the answer to the math problem.
/(\W|^)word(\W|$)/i
Replace "word" with the answer to the math question. So if the question is "What is 7 + 3" the only accepted answer will be "ten" or any combination of upper and lowercase (ie: Ten, tEn, TEn....).
/(\W|^)ten(\W|$)/i


Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.