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. How do I do
this?
Andrew C. Davis ([EMAIL PROTECTED])
TAMMIS Website Administrator / Systems
cfif Len(Trim(Form.Field1))
...contains data
cfelse
... spaces only
/cfif
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
00 8:14 AM
To: Cold Fusion List
Subject: Form Field Validation - No Spaces
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. How do
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
cfif Len(Trim(Form.Field1))
...con
Dick Applebaum wrote:
cfif Len(Trim(Form.Field1))
...contains data
cfelse
... spaces only
/cfif
Thanks Dick!
Andrew C. Davis ([EMAIL PROTECTED])
TAMMIS Website Administrator / Systems Administrator
Metrica, Inc. * San Antonio, TX
5 matches
Mail list logo