Usage Acceptance

View: New views
3 Messages — Rating Filter:   Alert me  

Usage Acceptance

by Renee Spadaro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

I've been tasked with figuring out how to generate one of those dialog boxes that asks users if they accept a set of terms and conditions before they can login to our extranet.  I've been googling and searching to no avail.  Has anyone done this in ColdFusion or have any ideas on how I can make this happen and track that a user has accepted?

Thanks for any help,
Renee

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4859
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.15

RE: Usage Acceptance

by Eric Nicholas Sweeney :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Renee,

I previously used a javascript box for that - but now I place the checkbox
below the form and do serverside checking on it... That way it does not
matter if they have javascript turned off. Also - server side checking gives
me more flexibility...

<cfif IsDefined("Form.IsSubmitted") and Form.IsSubmitted EQ "TRUE">

    <cfif IsDefined("Form.AcceptTerms") and Form.AcceptTerms NEQ "TRUE">
    Error - Did NOT Accept Terms - Show Error or do some error stuff
    <cfelse>
    Do whatever Form Does
    </cfif>

</cfif>

- Nick



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4860
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.15

Re: Usage Acceptance

by Adam Parker-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I second Nick's method.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4862
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.15