Validation not working

JoeKMT 05 Apr, 2014
Hello,
I'm not able to get either the JS-Client Validation or Server Validation to work. I have been through every post I've been able to find and have tried all of the suggestions mentioned, but have not had any success. My clients website is getting hammered with spam. Nothing I've tried has worked. is there some clear documentation or tutorials that I'm missing.

Could really use some help here.

Here are two screen captures if they help.
[attachment=1]reservation_capture.jpg[/attachment]
[attachment=0]action_detail.jpg[/attachment]

And a link to the website: http://www.kalispellgrand.com/reservations.html

Thanks,

Joe
Max_admin 05 Apr, 2014
Hi Joe,

Your "Check captcha" action must have an "Event loop" inside the "on fail" event.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
JoeKMT 05 Apr, 2014
Hi Max,
Added the Event Loop, resulted in no change.

Here is another screen shot.
[attachment=0]OnFail_action_detail.jpg[/attachment]

Do I need to add something else to the Event Loop?

Thanks,

Joe
Max_admin 05 Apr, 2014
Hi Joe,

The event loop will insure that any wrong captcha entries are blocked, otherwise it would be useless!

You can now remove the "client validation" action, you don't need it here and its very useful for blocking spam bots, instead you can use the "server validation" action under the "on submit" event.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
JoeKMT 06 Apr, 2014
Hi Max,
I think I'm getting closer. Sever Validation seems to working for "Not empty" and for a valid "Email" and valid "Phone" but it still isn't working for validation for "address1" or "arrival" (which is the Arrival Date).

Here is a spammed form result sample:

Reservation Request Form Result
Have you stayed with us before?: No
Last Name: bqjOHuEQHddcfPIK
First Name: Audrey
Phone Number: 22385693690
Email: thebest@hotmail.com
Address Line 1: bfRCbpURFT
Address Line 2: MEfVzUpBkyOCEpwXDdM

City: New York
State: RI
Zip Code: 99903
Country: USA
Number of Nights: 3
Number of Adults: 3
Number of Children: 2
Arrival Date: oyiCUgjIn
Rooms/Suite: Executive - King & Queen
Questions & Comments: Children with disabilities where to buy cheap cialis online submitting the ZIP code:
effexor generic antidepressant DD 1 1 20021014 0000050000 1 1 ARL NSAID/TRIAMTERENE
doxycycline to buy Participate in the process of checking for expired medications in the

I've highlighted the two problem areas in bold. I know I'm doing something wrong, I just don't know what it is.

Thanks,

Joe
Max_admin 06 Apr, 2014
No, that's the best you could have with server validation unless you want to add custom rules, you have the captcha enabled ? please check this under the "check captcha" settings.
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 06 Apr, 2014
Hi Joe,

What are you trying to validate with those inputs?

Bob
JoeKMT 06 Apr, 2014
Hi Max and Bob,
Yes, captcha is enabled. I'm trying to prevent the spam that is coming in. As you can see in the copy of the spam I sent you the "address1 and 2" along with the "arrival date" are not real. That form had to have been submitted by some spam bot.
Look also at the "Questions and Comments." I probably restrict url being added.

Thanks,

Joe
Max_admin 08 Apr, 2014
Hi Joe,

It doesn't have to be submitted by a bot, many humans do spam nowadays, are you sure that the captcha is added correctly ? (please try it yourself and make sure that it works)

If its then most probably some humans are doing it and you can't do much about it, even if you validate the rest of fields, they wold enter valid values, but its still spam.

You may try to block IPs or add a security question check too, which would make their job harder.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
JoeKMT 08 Apr, 2014
Hi Max,
Thank you for your time on this. Yes the Captcha is set up properly. I added a mask to the "arrival date" so they can't just type in letters. Can you guide me to the script to add ip blocking?

Thanks again for all of your help!

Joe
This topic is locked and no more replies can be posted.