you might try something like this...
        <INPUT SIZE= 30 NAME= "fromemail" MAXLENGTH=60 VALUE=
"#EDIT.fromemail#">
        <INPUT TYPE="Hidden" NAME="fromemail_required" VALUE="Email may not
be left blank.">

the 2nd input causes the first to be required.


Good Luck
Bonnie
AGS
                


-----Original Message-----
From: Beth [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 18, 2000 8:43 AM
To: [EMAIL PROTECTED]
Subject: Re: Form Verification


try <cfif len(trim(form.activity))>


"Andrew C. Davis" wrote:

> I have a form that has about 40 fields, with close to 15 being required.
> I've written some cfif statements (<cfif form.activity is ">...</cfif>)
> which work fine, except if someone inserts a space rather than
> text/numbers.  The logic thinks the space is actually text/numbers.  I
> know there must be a better way to verify forms using cf than what I
> have done thus far.  Are there any other ideas?
>
> Andrew C. Davis
>
----------------------------------------------------------------------------
--
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Any opinions or statements in this communique do not necessarily reflect
those of my
employer


----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to