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
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
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
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
For some reason, code after the HTML Horizontal Line Break was omitted.
Here it is again:
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
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
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.
...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
9 matches
Mail list logo