Solved

How to  avoid evil-minded form replies

Posted on 2014-03-24
8
199 Views
Last Modified: 2014-03-25
I have got a from where people can apply for membership in a club. Everyday I receive applications from sort of evil-minded people like
first name: WcrLMrJnxLwOl
family name: pJFxPjSDRprMN
address: TJnxLowhiGDdwZiywPr
The responses don't make sense, not even in my native language.
Is there a way to filter so only seemingly sensible replies go through? Sensible values are western European names.
I have tried jQuery validator:
<script>
jQuery.validator.addMethod("lettersonly", function(value, element)
{
	return this.optional(element) || /^[A-ZÅÖÄa-zåäö-]+$/i.test(value);
},
"Endast bokstäver");
$().ready(function() {
	// validate signup form on keyup and submit
	$("#signupForm").validate({
		rules: {
			fornamn: {required:true,lettersonly:true},
			efternamn: {required:true,lettersonly:true},
			adress: "required",
			postnr: {required:true,number:true},
			ort: {required:true,lettersonly:true},
			telnr: {required:true,number:true},
			mailadress: {required: true,email: true},
			stadgar: "required"
		},
		messages: {
			postnr: "&nbsp;&nbsp;<span style=\"color:#800000;\">Ange siffror utan mellanslag</span>",
			telnr: "&nbsp;&nbsp;<span style=\"color:#800000;\">Ange siffror utan mellanslag</span>",
			mailadress: "&nbsp;&nbsp;<span style=\"color:#800000;\">Glöm inte ange din e-postadress!</span>",
			stadgar: "&nbsp;&nbsp;<span style=\"color:#800000;\">Läs stadgarna och godkänn dem</span>&nbsp;"
		}
	});
});
</script>

Open in new window

but the configuration I use doesn't stop people from sending me garbage.
Please help!
0
Comment
Question by:lericson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
8 Comments
 
LVL 35

Accepted Solution

by:
Dan Craciun earned 500 total points
ID: 39951137
Those look like automated attempts. Do you use Captcha or similar to verify the people applying are actual people?
0
 

Author Comment

by:lericson
ID: 39951150
Dan,
Thanks for your reply.
No I am not using Captcha. I will.
I'll accept this answer and try captcha. If the garbage is of other oriigin, I'll return.
For now, thanks!
0
 
LVL 35

Expert Comment

by:Dan Craciun
ID: 39951160
Glad I could help!

FWIW, I am familiar with those types of random submits and have been able to get rid of them using Captcha. A human won't bother typing in small and caps char.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:lericson
ID: 39951181
Trust you!

Am working on it.
0
 

Author Comment

by:lericson
ID: 39951870
??
0
 

Author Comment

by:lericson
ID: 39952777
Thanks, padas!
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
This article discusses how to create an extensible mechanism for linked drop downs.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question