Another way to handle the date validation is using the properties built
into with .
-MEB
-Original Message-
From: kpurtell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 10:44 AM
To: CF-List
Cc: kpurtell
Subject: RE: [KCFusion] JavaScript question
I have problems with users do
I have problems with users doing bizarre stuff every time I build a Web
form. As a result, my development process now includes these final steps:
-Look carefully at the form.
-What irrational things can be done to break the form?
-Build error traps for all these irrational things.
Keith Purtell,
Watching a user navigate a user interface is a lot like finger nails on a
chock board, eeek.
- Original Message -
From: "Sheeran, Jean" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 01, 2001 10:43 AM
Subject: RE: [KCFusion] JavaScript question
> That is a very good poin
That is a very good point Bryan. I will test this script with onKeyPress as
well, but not for this instance. The reason that I needed this script in
the first place is the fact that the end user for this particular app has no
'gut reaction' as you call it. They don't know that you can easily ge
One quick thing to mention is that using the onkeyup event calls autoTab at
a moment when the users gut reaction is to hit the tab key resulting in
focus to the third element when the second element in the chain was the
desired next element to be filled in. Use onkeypress and the user will be
tabb
For everyone's benefit, this is the script that was sent to me that works
for this situation:
var isNN = (navigator.appName.indexOf("Netscape")!=-1);
function autoTab(input,len, e) {
var keyCode = (isNN) ? e.which : e.keyCode;
var filter = (isNN) ? [0,8,9] : [0,8,9,16,17,18,37,38,39,40,46];
if(
essentially the script looks like this.
function goTab(next,max){
len = event.srcElement.value.length
if (len == max){
eval("document.formname." + next + ".focus()");
}
}
- Original Message -
From: "Sheeran, Jean" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
S
I have an area of my form that is set up for a date entry as follows:
__/__/__
mm dd yy
I would like to use JavaScript (or something better) to detect when 2
characters have been entered into the 'mm' field, and then to set focus to
the 'dd' field. (then the same for the dd-> yy field) Essenti
Hello all
I'm trying to extract Links from a web page through the source code. I
go the first link using using the string functions ie
find,insert,removechar etc. How can I loop the functions (ie CFSETS) so
that it extracts all the links?
Thanks in Advance
Doug
___