For "different" types of validation, you will need to write some JS,
but it can still tie into CF, e.g.

<script type="text/javascript">
function testPasswords(form, ctrl, value) {
  if (form['password2'] != value) {
   return false
  } else
   return true
}
</script>


<cfform ....>

<cfinput name="password1" onvalidate="testPasswords" message="Your
password do not match"/>
<cfinput name="password2" >

</cfform>

On 8/1/06, Charlie Griefer <[EMAIL PROTECTED]> wrote:
> CF can do it after the form is submitted.  CF lives on the server.
> Knows nothing of the client.
>
> On 8/1/06, Steve LaBadie <[EMAIL PROTECTED]> wrote:
> > Does CF have the capability to compare to form fields or do I just us
> > JavaScript?  I am not validating input to a database just want to make
> > sure that the email address is entered properly.
> >
> >
> >
> > Can I use the Compare Function to do this?
> >
> >
> >
> > Steve LaBadie, Web Manager
> > East Stroudsburg University
> > 200 Prospect St.
> > East Stroudsburg, Pa 18301
> > 570-422-3999
> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > http://www.esu.edu <http://www3.esu.edu>
> >
> >
> >
> >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248517
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to