> When using the method of formfield_required in a hidden form
[snip]
> the site?  Thanks.


<CFERROR TYPE="REQUEST" TEMPLATE="/errors/index.cfm" MAILTO="[EMAIL PROTECTED]">
<CFERROR TYPE="VALIDATION" TEMPLATE="/errors/validation.cfm"
MAILTO="[EMAIL PROTECTED]">

You can specify what pages to use when an exception is thrown (is that the
lingo?) on your site using the CFERROR tags placed in the Application.cfm
file.

The request CFERROR tag catches all errors except the type you describe...
the second does exactly what you want.

In the validation.cfm page, you can refer to a range of error scope
variables. Error.MailTo in this instance will be "[EMAIL PROTECTED]" and there are
a range of others (consult the docs).

BTW, you can only output error scope variables on this page... no other CFML
of any kind, and you don't need any CFOUTPUT tags to output the error
variables.


-- 
Aidan Whitehall <[EMAIL PROTECTED]>
Netshopper UK Ltd
Advanced Web Solutions & Services

http://www.netshopperuk.com/
Telephone +44 (01744) 648650
Fax +44 (01744) 648651
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to