473,661 Members | 2,453 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

form validation with image containing garbled letters

A lot of websites have forms with an image at the bottom containing
some distorted / noisy letters and numbers that users must type in to
prove they are real people. How do they normally implement that? Is
there any free server-side code out there to generate those images?

--Steve

Jan 13 '06 #1
7 2133
st*********@hot mail.com wrote:
A lot of websites have forms with an image at the bottom containing
some distorted / noisy letters and numbers that users must type in to
prove they are real people. How do they normally implement that? Is
there any free server-side code out there to generate those images?

--Steve

not really HTML, but do a web search for CAPTCHAs

dan
Jan 14 '06 #2


st*********@hot mail.com wrote:

A lot of websites have forms with an image at the bottom containing
some distorted / noisy letters and numbers that users must type in to
prove they are real people. How do they normally implement that? Is
there any free server-side code out there to generate those images?


What you describe (although it is not strictly an HTML technique) is a
CAPTCHA. For details, please see e.g.
<URL:http://en.wikipedia.or g/wiki/Captcha>.

Thor

--
http://www.anta.net/OH2GDF
Jan 14 '06 #3
Dan Rumney wrote:
st*********@hot mail.com wrote:
A lot of websites have forms with an image at the bottom containing
some distorted / noisy letters and numbers that users must type in to
prove they are real people. How do they normally implement that? Is
there any free server-side code out there to generate those images?

--Steve

not really HTML, but do a web search for CAPTCHAs


Or, preferably, forget the idea. It is illegal in some situations,
namely on publicly funded sites on some civilized countries that have
accessibility legislation. It is a bad and discriminatory idea everywhere.

It's not just blind people that find themselves blocked out (or forced
to use a secondary entrance for secondary people) but also people with
reduced eyesight or difficulties in interpreting visual information. If
your native writing system does not use Latin letters, how easily will
you recognize handwritten Latin letters when they are strongly styled
(as they often are, to prevent programs from recognizing them)? Assuming
your native language uses Latin letters and you know how to read
Cyrillic letters when printed, would you recognize handwritten Cyrillic
letters?

Thus, instead of making your assumed problem (or risk) a serious problem
to your users, find some other way. (And take this to a more suitable
group if you need help with it; it's not about HTML.) A tolerable
approach might be to ask, in text, a simple question in the language
used on the page and prompt for a simple answer. If the page is in
English, we can expect users to know how to answer a question like "how
much is two plus three?" with either "five" or "5". But you might end up
with asking questions that are trivial to you but not to all users, and
it would be an annoyance anyway.
Jan 14 '06 #4
Jukka K. Korpela wrote:
Dan Rumney wrote:
st*********@hot mail.com wrote:
A lot of websites have forms with an image at the bottom containing
some distorted / noisy letters and numbers that users must type in to
prove they are real people. How do they normally implement that? Is
there any free server-side code out there to generate those images?

--Steve

not really HTML, but do a web search for CAPTCHAs

Or, preferably, forget the idea. It is illegal in some situations,
namely on publicly funded sites on some civilized countries that have
accessibility legislation. It is a bad and discriminatory idea everywhere.

It's not just blind people that find themselves blocked out (or forced
to use a secondary entrance for secondary people) but also people with
reduced eyesight or difficulties in interpreting visual information. If
your native writing system does not use Latin letters, how easily will
you recognize handwritten Latin letters when they are strongly styled
(as they often are, to prevent programs from recognizing them)? Assuming
your native language uses Latin letters and you know how to read
Cyrillic letters when printed, would you recognize handwritten Cyrillic
letters?

Thus, instead of making your assumed problem (or risk) a serious problem
to your users, find some other way. (And take this to a more suitable
group if you need help with it; it's not about HTML.) A tolerable
approach might be to ask, in text, a simple question in the language
used on the page and prompt for a simple answer. If the page is in
English, we can expect users to know how to answer a question like "how
much is two plus three?" with either "five" or "5". But you might end up
with asking questions that are trivial to you but not to all users, and
it would be an annoyance anyway.


Jukka is right, there are some serious accessibility issues involved
with using some CAPTCHAs. Also, the point about it not being about HTML
and so better posted elsewhere is valid, hence the follow-up being set
to a.c.security

However, I just wanted to offer a counterpoint to some of Jukka's
comments. The legal issue is a bit of a red herring unless you're
working on a publicly funded site you have no legal obligation to be
accessible to those with disabilities. A commercial or moral one,
perhaps, but not a legal one.

Second, there are a wide number of CAPTCHA methods and not all of them
are visual. There are auditory and cognitive ones too, but these all
fall foul of the accessibility argument when presented to blind or deaf
or dyslexic users.

Dan
Jan 14 '06 #5
Dan Rumney wrote:
However, I just wanted to offer a counterpoint to some of Jukka's
comments. The legal issue is a bit of a red herring unless you're
working on a publicly funded site you have no legal obligation to be
accessible to those with disabilities. A commercial or moral one,
perhaps, but not a legal one.


That depends on the legal jurisdictions that apply. Since, judging from his
IP address, the OP is based on the UK, Section 501 (which is limited, IIRC,
to federally funded projects) does not apply ... but the DDA (which applies
to commercial whatsits) does. (OK, so the DDA has never been tested in
court on a matter like this, but I doubt the OP would want to be the first
test case).
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jan 15 '06 #6
David Dorward wrote:
Since, judging from his IP address, the OP is based on the UK


What? No I'm not. Where'd you get that from?

Jan 18 '06 #7
st*********@hot mail.com wrote:
David Dorward wrote:
Since, judging from his IP address, the OP is based on the UK
What? No I'm not. Where'd you get that from?


.... from clicking on the wrong message ... whoops.

--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jan 19 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3598
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: {////<<head> <title>IIBO Submit Page</title> </head> <style type="text/css">
7
736
by: Mathew Hill | last post by:
I am a beginner to the more technical aspects of Microsoft Access (2000) and was wondering if any one can help? I have a field in a table called: ADMIN NUMBER This field should have 4 characters and ONLY NUMBERS should be inputted. Does anyone know what the validation rule should be for this field?
9
2219
by: AFN | last post by:
I was just dropped into someone else's code (isn't that always so fun?). I can't figure out why a custom validation control's server event function is executing. There is nothing (that I see) in page_load, or elsewhere, that says page.validate, no control says "causesvalidation=true", and the AutoEventWireup is set to false. So I would think that the control's server event function would NOT execute, but it does execute right after...
5
5843
by: W.Sh | last post by:
Hello Dear Javascript Experts! I really suck at Javascript at the moment, and I could really use some assistance... I have an HTML form, and I'm using javascript to validate the various entries. Now, I have most of the basic validation figured out, but there's one input field which requires very strict validation. That field is the "Address" field. Besides the obvious checking of whether or not the field is empty, I
14
2141
by: JNariss | last post by:
Hello, I am fairly new to asp and jscript and am now in the process of learning some form validation. I am taking one step at a time by validating each field and testing it before moving onto the next one to be sure I am correct. I ran into a problem with my validation when I added an else if code to my code. Here is what I tried to do: Form (ITTermination) has a field (EmployeeName) which I would like to validate to check for no...
7
6987
by: h7qvnk7q001 | last post by:
I'm trying to implement a simple server-side form validation (No Javascript). If the user submits a form with errors, I want to redisplay the same form with the errors highlighted. Once the form is correct I need to submit to another page that uses the form data. I first tried making the form submit action= field point to the same file. When the form was correct, I tried loading the next page by using <META http-equiv refresh>. But...
11
2986
by: Rik | last post by:
Hello guys, now that I'm that I'm working on my first major 'open' forms (with uncontrolled users I mean, not a secure backend-interface), I'd like to add a lot of possibilities to check wether certain fields match certain criteria, and inform the user in different ways when the data is wrong (offcourse, this will be checked on posting the data again, but that's something I've got a lot of experience with). Now, offcourse it's...
7
2333
chunk1978
by: chunk1978 | last post by:
hi everyone, this may seem like a lazy post, but it's not... i've been searching for a while and everything i've read seems different than others (and none of it works either, for me anyway)... in my form i already have a CheckForm Function under Javascript to display an alert if the fields were left blank, but i would also like to add to this existing code, in the same function (if possible), to alert if fields are containing illegal...
3
2169
by: mark4asp | last post by:
How can I stop my Calendar control from firing the form validation events? I have a form containing several controls which have several validation controls each. One control is a TextBox where the date is entered. Connected to this is an image button which launches a popup window containing a calendar control. The selected value from the calendar is then fed back to the TextBox.
0
8343
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8855
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8545
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5653
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4179
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4346
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1986
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1743
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.