RE: [KCFusion] JavaScript question

2001-05-01 Thread mark . e . boles
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

RE: [KCFusion] JavaScript question

2001-05-01 Thread Keith Purtell
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,

Re: [KCFusion] JavaScript question

2001-05-01 Thread Bryan LaPlante
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

RE: [KCFusion] JavaScript question

2001-05-01 Thread Sheeran, Jean
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

Re: [KCFusion] JavaScript question

2001-05-01 Thread Bryan LaPlante
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

RE: [KCFusion] JavaScript question

2001-05-01 Thread Sheeran, Jean
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(

Re: [KCFusion] JavaScript question

2001-05-01 Thread Bryan LaPlante
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

[KCFusion] JavaScript question

2001-05-01 Thread Sheeran, Jean
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

[KCFusion] Extracting tags from a page

2001-05-01 Thread Durgesh Parmar
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 ___