Re: Form Field Validation - codon boundaries

2011-05-09 Thread Ras Tafari
i dont know how, but im going to say some regex work here would do the trick. On Mon, May 9, 2011 at 1:51 PM, Rick Colman wrote: > > I should have provided more detail. > > This has to do with nucleotide strings in DNA. > > for example, consider the follow string: > > 123 456 789 > act   gta  cc

Re: Form Field Validation - codon boundaries

2011-05-09 Thread Rick Colman
I should have provided more detail. This has to do with nucleotide strings in DNA. for example, consider the follow string: 123 456 789 act gta ccc ... (spaces not in string, just for clarity) Any start position must begin at position 1,4,7, etc. Any end position must conclude at position 3

Re: Form Field Validation

2011-05-07 Thread Jason Fisher
If startVal, endVal, and lengthVal represent your values in JS [like var startVal = parseInt(myForm.start.value); ], then the following should work: if (startVal % 3 != 0) { alert("Start must be a multiple of 3."); return false; } else if (endVal % 3 != 0) { alert("End must be a m

RE: Form Field validation tag -- need help (EBW)

2002-11-26 Thread S . Isaac Dealey
I would probably make the default for max longer than 1 -- 20 or 50 maybe... 20 is the default length for html form fields. 50 is the default size of MS SQL Server varchar columns. I would probably also use "" instead of "[not provided]" as the default for fieldname and equalfieldname -- if len(tr

RE: Form Field validation tag -- need help (EBW)

2002-11-25 Thread Erik Britt-Webb
For some reason, code after the HTML Horizontal Line Break was omitted. Here it is again:

Re: Form Field Validation - No Spaces

2000-05-25 Thread Andrew C. Davis
Dick Applebaum wrote: > > >...contains data > >... spaces only > > Thanks Dick! Andrew C. Davis ([EMAIL PROTECTED]) TAMMIS Website Administrator / Systems Administrator Metrica, Inc. * San Antonio, TX -- Arc

Re: Form Field Validation - No Spaces

2000-05-25 Thread Randy Adkins
analyzer and it stated Order By is not support by SQL. What gives? - Original Message - From: "Dick Applebaum" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 25, 2000 9:26 AM Subject: Re: Form Field Validation - No Spaces > >...contains

RE: Form Field Validation - No Spaces

2000-05-25 Thread Henry, David B
Andy, It is possible to remove this complexity from the users by using a cfif along with the trim function. code ... This This would strip all of the spaces out from the beginning and end of the form field string. If this is not what you are looking for, let me know. I hope this helps.

Re: Form Field Validation - No Spaces

2000-05-25 Thread Dick Applebaum
...contains data ... spaces only At 8:13 AM -0500 5/25/2000, Andrew C. Davis wrote: >I have a form that has fields that, when validated, allow the user to >enter "spaces". I want to be able to check for fields that contain only >spaces and then inform the user that they must enter text