I think you've fallen into one of the common pitfalls of CF, ASP, php
etc..

The coldfusion code executes and completes before anything reaches the
user (being a server-side script) - meaning that it can't react to user
actions, and can't check form fields, unless you submit back to the
server in an intermediate step.

You need to use a client-side script to do this, Javascript, VBScript
(IE only), or something similar.  (as Greg posted)



 
On Apr 12, 2005 8:48 AM, Colin Coles <[EMAIL PROTECTED]> wrote:
> I have a form which posts to an action cfm. However, before it does
that I'd like the user to  confirm details by clicking a checkbox which
in turn will prompt him/her to press the submit button.
> Can someone tell me how to set up the form variable so that I can use
it on the sending page to generate a message encouraging the user to
click 'Submit'?
> It seems that it should be so simple - something like <cfif 
> form.checkbox IS 'True'> <cfoutput>Please click Submit to 
> continue</cfoutput> but I'm obvioulsy not on target here.
> Would appreciate any help


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:853
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to