as far as the server side goes here is what I do.
!--- param the variable Error ---
cfparam name="Error" default=""
!--- check to see if the First Name is blank ---
cfif Trim(FirstName) Is ""
cfset FNameNullError = "Please enter a First Name"
cfset Error = "True"
/cfif
cfif
This may give you a simple starting point. Give me a shout off list if you
want an example and some more help.
http://hotwired.lycos.com/webmonkey/99/17/index1a.html?tw=programming
-Original Message-
From: James Birchler [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 12:45 PM
James Birchler wrote:
1. Client side: Could someone please show me an example of doing client-side
form validation that doesn't use the alertbox method? It would be nice if
next to the input field the user would simply see red text explaining their
input error.
It depends what you
Client Side Validation with no alerts ... straight from javascriptsource.com:
Bill
!-- TWO STEPS TO INSTALL VALIDATION (NO ALERT):
1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document --
!-- STEP ONE: Paste this code into the
rn
valid(BuilderInfo)" class="mandatory"
Where "BuilderInfo" would be your form name
Hope this helps.
Will
-Original Message-
From: Chris Alvarado [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 12:57 PM
To: CF-Talk
Subject: RE: Form validation with
See below...
From: [EMAIL PROTECTED] AT INTERNET on 02/12/2001 12:44 PM
Subject: Form validation without alert boxes
1. Client side: Could someone please show me an example of doing
client-side
form validation that doesn't use the alertbox method? It would be
nice if
next to the input
i need something like this. thanks for posting.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 10:07 AM
To: CF-Talk
Subject: Re: Form validation without alert boxes
Client Side Validation with no alerts ... straight from
iginal Message-
From: Chris Alvarado [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 12:57 PM
To: CF-Talk
Subject: RE: Form validation without alert boxes
as far as the server side goes here is what I do.
!--- param the variable Error ---
cfparam name="Error"
Subject: Re: Form validation without alert boxes
err.. he was looking for a way to implement without the use of alert
boxes.
I like the DHTML idea.
Will Ryan wrote:
Use JavaScript, It's a life saver. We load nearly all of our validation
scripts in a header file so you call
9 matches
Mail list logo