I've never used cferror for form checking. You wouldn't think it
better to handle the form checking in the same file as the form? Thats
just my opinion.

Anyway - if you use onError, you can check the exception type. It
should contain the information there if I had to guess.

On 9/7/06, Ian Skinner <[EMAIL PROTECTED]> wrote:
> I'm building my first real word application using the Application.cfc 
> framework.  I have an onError function built that dumps the error structure 
> to a file and displays that file.  This works well for my development.
>
> Now I want to build a custom error page for displaying user form validation 
> errors.  In the past I would have done this with a <cferror 
> type="validation"...> tag.
>
> How do I combine these two error handling strategies?  Where would I put a 
> <cferror...> tag in the application.cfc framework?  Or do I handle this in 
> the onError function somehow?
>
> Guidance would be appreciated before I start blind trial and error 
> development.
>
> Thank You
>
>
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
> ---------
> | 1 |   |
> ---------  Binary Soduko
> |   |   |
> ---------
>
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
>
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:252438
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