form check

C

chlori

What do you think about form validation scripts (to
validate field input)?

Is it more annoying than useful? Can it prevent users
from filling in the form?

If you think they are useful, what's the best way to do it?

Do you have links to more info?

Thanks chlori
 
H

hyweljenkins

chlori said:
What do you think about form validation scripts (to
validate field input)?

Depends. Client or server-side?

Is it more annoying than useful?

If you need specific data to be collected surely they're useful.

Can it prevent users from filling in the form?

Nope, but it could prevent a user from submitting the data for
processing.

If you think they are useful, what's the best way to do it?

Client side with server-side back up.
Do you have links to more info?

http://www.google.com/
 
B

brucie

In alt.html chlori said:
What do you think about form validation scripts (to
validate field input)?

required especially for you the recipient so you don't get any nasty
surprises. if you don't check what you're getting its easy to shut an
account down or cause you extra charges.
Is it more annoying than useful?

its only annoying if its poorly designed. a common one is allowing you
to select countries other than US but only allowing you to enter a US
state.
Can it prevent users from filling in the form?

no but many forms cant be submitted
If you think they are useful,

i don't know why you think form validation isn't useful. even if it
wasn't useful its *required*.
what's the best way to do it?

optional client side validation and required server side validation.
client side javascript and server side whatever language you're using.

Javascript form validation ¡V doing it right
http://www.xs4all.nl/~sbpoley/webmatters/formval.html
 
S

Sybren Stuvel

brucie enlightened us with:
optional client side validation and required server side validation.
client side javascript and server side whatever language you're
using.

If you're doing client-side validation with JavaScript, make sure that
the form can still be used when someone turns JavaScript off.

Sybren
 
K

Karl Core

chlori said:
What do you think about form validation scripts (to validate field input)?

Is it more annoying than useful? Can it prevent users from filling in the
form?

If you think they are useful, what's the best way to do it?

Do you have links to more info?

Thanks chlori

Validation - when done properly - is an important feature which can enhance
the usability of the form.
The key is to only validate that data which is absolutely 100% required. Do
not burden people with needless requirements. Your needs do not come before
the users' need or their desires for privacy.
An example would be if you had a form that asked for their gender. If this
is an order form for shoes, then this is definitely required. If this is a
contact form, then it shouldn't be required (actually, it shouldn't even be
on the form, but you get the point).
Last, make sure that you do the following:
1) Make sure the required fields are clearly marked
2) Make sure the validation errors are clearly worded

-Karl
 
S

Sybren Stuvel

Jan Faerber enlightened us with:
What do you think about valid e-mail addies?

If a valid email address is required, send a confirmation mail to the
provided address. Not only does that validate the syntax of the
address, it also validates it's owner.

Sybren
 
J

Jan Faerber

Sybren said:
Jan Faerber enlightened us with:

If a valid email address is required, send a confirmation mail to the
provided address. Not only does that validate the syntax of the
address, it also validates it's owner.

yes - said:

(e-mail address removed) ... seems not to be much better.
Or do you have a sub-domain on imagination.com?
 
S

Sybren Stuvel

Jan Faerber enlightened us with:
(e-mail address removed) ... seems not to be much
better. Or do you have a sub-domain on imagination.com?

No, it's a fake email address. If you post your real address on
Usenet, you're bound to get loads of spam. "Use your imagination" to
find out which parts you need to remove to get my real address ;-)

Sybren
 
M

Michael Fesser

.oO(Sybren Stuvel)
Jan Faerber enlightened us with:

No, it's a fake email address. If you post your real address on
Usenet, you're bound to get loads of spam. "Use your imagination" to
find out which parts you need to remove to get my real address ;-)

It's easier to not send mails to you. BTW: Are you the owner of
imagination.com? If not, why are you abusing their domain?

Micha
 
S

Sybren Stuvel

Michael Fesser enlightened us with:
It's easier to not send mails to you.

Indeed. If I discuss something on Usenet, I want to keep it on Usenet.
The email address I use is only if people want to reach me in private.
BTW: Are you the owner of imagination.com? If not, why are you
abusing their domain?

Never thought of it that way. I'll think of another fake address.
How's this one? :)

Sybren
 
J

Jan Faerber

Sybren said:
Michael Fesser enlightened us with:

Indeed. If I discuss something on Usenet, I want to keep it on Usenet.
The email address I use is only if people want to reach me in private.


Never thought of it that way. I'll think of another fake address.
How's this one? :)

It is better now. But I still think that not everyone who wants to
contact you and who reads a lot of code some hours a day will have
the will to decode your fake.

And what if I want to send flowers to chlori?
 
S

Sybren Stuvel

Jan Faerber enlightened us with:
But I still think that not everyone who wants to contact you and who
reads a lot of code some hours a day will have the will to decode
your fake.

Fine by me. If someone really wants to contact me, they can. That's
all that matters to me.

Sybren
 
J

Jan Faerber

Sybren said:
Jan Faerber enlightened us with:

Fine by me. If someone really wants to contact me, they can. That's
all that matters to me.

Sybren

And when your child wants internet you explain:
Use (e-mail address removed)?
 
S

Sybren Stuvel

Jan Faerber enlightened us with:
And when your child wants internet you explain: Use
(e-mail address removed)?

I don't know what you're nagging about. A remark about email
validation now has become a discussion about which fake email address
I use when I post on Usenet. I've said what I wanted to say on the
subject, so I won't reply to this thread any more.

Sybren
 
J

Jan Faerber

Sybren said:
Jan Faerber enlightened us with:

I don't know what you're nagging about. A remark about email
validation now has become a discussion about which fake email address
I use when I post on Usenet. I've said what I wanted to say on the
subject, so I won't reply to this thread any more.

Sybren

I just feel uncomfortable with a fake e-mail adress, it can be
as funny as you want, I know it is funny. But I prefere to
take my real e-mail adress or one of them and get some spam.
Spam, pishing, botnets - big problems - You can not hide
your IP-Adress with a DNS. Those problems need another solution
than playing crossword puzzles.

http://tinyurl.com/4tugb

I found a javascript - brucie just says my definition of work is very
strange. lol - he is also not so pleased with such tricks.
It is not a real solution.
 
S

Sybren Stuvel

Jan Faerber enlightened us with:
I just feel uncomfortable with a fake e-mail adress, it can be as
funny as you want, I know it is funny. But I prefere to take my real
e-mail adress or one of them and get some spam.

My server is already blocking enough spam. I understand your feelings,
and I wish I could do the same, but I don't want to attract even more.
I found a javascript - brucie just says my definition of work is
very strange. lol - he is also not so pleased with such tricks. It
is not a real solution.

To hide my address on my websites from spiders harvesting email
addresses, I usually (en)code them like (e-mail address removed) - or
even write the whole address in HTML entities. Works pretty well, and
there is no special need for scripts or anything on the client side to
display them.

Sybren
 
M

Michael Fesser

.oO(Sybren Stuvel)
To hide my address on my websites from spiders harvesting email
addresses, I usually (en)code them like (e-mail address removed) - or
even write the whole address in HTML entities. Works pretty well, [...]

Question is for how long. Such "encoding" is trivial to decode. A simple
search & replace with regular expressions.

Micha
 
P

Philip Ronan

Michael said:
.oO(Sybren Stuvel)
To hide my address on my websites from spiders harvesting email
addresses, I usually (en)code them like (e-mail address removed) - or
even write the whole address in HTML entities. Works pretty well, [...]

Question is for how long. Such "encoding" is trivial to decode. A simple
search & replace with regular expressions.

Micha

Apparently there's a program out there called "EFGrabber" that can break
these quite easily.

Try this instead: <http://freespace.virgin.net/phil.ronan/scramble.html>

Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top