Re: focus after onchange event and regex test not working
- From: RobG <rgqld@xxxxxxxxxxxx>
- Date: Tue, 28 Feb 2006 04:51:52 GMT
jab3 wrote:
RobG wrote:[...]
jab3 wrote:
By all means provide a helpful message onchange if you think the address
is wrong, but that's it.
I agree, and I was always planning on doing validation on the
server-side too, just because 'bad' people could submit information
outside of the form period. But I do like the idea of some dynamic
validation on the client's machine to cut down on server/client
communication. I am going to reassess this e-mail validation lock,
however. Like the comment in the code says, the validation is basic,
which is why I ask for the email again, and then I may send a response
for verification. Who knows. I do like the idea of setting a simple
message that suggests the email is invalid. At least let 'em know I'm
on to 'em. haha
Make sure the message lets them know what you consider valid. The usual idea is to have on-screen help that unobtrusively suggests a format wherever validation is to be applied. It should be in the HTML and its visibility should not be script-dependent (though you might use script to highlight it if validation fails).
[...]
--
Rob
.
- References:
- Prev by Date: Re: focus after onchange event and regex test not working
- Next by Date: Re: undefined field error message
- Previous by thread: Re: focus after onchange event and regex test not working
- Next by thread: match(regexp) deciphering
- Index(es):
Relevant Pages
|