Any reason why my CF form validation only work some times?
If I change Validateat to On Blur it seems to work. I does work sometimes for
some reason so I dont think its a mapping issue.
cfinput name=user_student_id
type=text
id=
user_student_id
required=yes
When do you want to validate and what type of cfform are you using?You want to validate prior to the form submitting or after a submit event?Most forms work well with a submit validation, but highly recommended with any validation you choose that you then in turn validate yet again on the action
When do you want to
validate and what type of cfform are you using?
When the
user hits the submit button.
This is
the cfform..
cfform
id=form1 name=form1 method=post
action="">
I have another
page of this form and the validation works fine.
You want to validate prior to
://www.cooperebusiness.com
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
C. Cooper
Sent: Wednesday, September 27,
2006 10:27 AM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] Form
Validation
When do you want to
validate and what type of cfform are you using?
When
Well then, you won't really need to specify validation locations on your individual form controls. Let the cfform do the client side first and then you can manipulate the server side on your action page.The issue you may be having is having the required attribute with the validate attribute in the
Cooper e.business Solutions – http://www.cooperebusiness.com
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Teddy
Payne
Sent: Wednesday, September 27,
2006 10:51 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Form
Validation
Well then, you won't
really need
Solutions –
http://www.cooperebusiness.com
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Teddy
Payne
Sent: Wednesday, September 27,
2006 10:51 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Form
Validation
Well then, you won't
really need to specify
: Wednesday, September 27,
2006 11:57 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Form
Validation
Which version of
ColdFusion are you using? I am not sure that you specified.
Teddy
On 9/27/06, Chris C.
Cooper
[EMAIL PROTECTED] wrote:
This makes sense but still
Make certain you have a CFIDE virtual directory in
place.
John
[EMAIL PROTECTED]
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Chris C. CooperSent: Wednesday, September 27,
2006 12:12 PMTo: discussion@acfug.orgSubject: RE: [ACFUG
Discuss] Form Validation
CF7