Kinda hard to tell you what's wrong without some code.

Adrian

-----Original Message-----
From: Rick Faircloth
Sent: 02 November 2008 12:36
To: cf-talk
Subject: Re: CFC and Form Variables Question


Do CFC's have some sort of internal validation routine associated with them?

I'm running my form data through the validation CFC and all checks out then
returns to the calling page and the email_processing CFC is called and I get
data formatting errors.  ???

For example, I have a text input for best time to call at home and I'm
entering
the time as 10:00 am, which I've always done before, but now, I get:

"Form entries are incomplete or invalid"

10:00 am

Go back and correct the problem.

This is a regular text field with no validation from me, set to accept
whatever
the user types in, even "Before 9am.".

When I remove 10:00 am to get past the error, I get an error for the
home phone number,
913-878-3343, which again is a regular text field, with no validation by me.

"Form entries are incomplete or invalid."
"The value entered for the HOME_PHONE field ('913-878-3343') is not
correctly formatted."

What's doing the validation?  The CFC?
That's not what I want...

Rick



Adrian Lynch wrote:
> "My conclusion was that CFCs treated as function libraries incurred
> unnecessary overhead while offering no additional benefit over a pre-CFC
> function library."
>
> Because you were creating the object each time? You could have cached it.
>
> Adrian
> Building a database of ColdFusion errors at http://cferror.org/


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314745
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