Hello,
I have an action page that checks when a user logs in if they have completed
an action in this action file I have this:
<!--- A query runs here to check the terms flag,
if flag is 0 then send to terms, otherwise
send to account center. --->
<cfset attributes.returnurl =
"#request.webroot#/members/index.cfm?fuseaction=accountcenter">
<cfif checkterms.terms_agreed is 0>
<cf_returnfuseaction
action="set"
returnurl="#attributes.returnurl#"
gotourl="#request.webroot#/index.cfm?fuseaction=termsofservice">
</cfif>
The plan is that it takes them to the terms page where there is a form, they
read the terms and hit update. That submits to another action page and this
is where I am having the problem. The above returnfuseaction seems to work
ok as it takes me to the right place, but the problem is getting back to the
member area. Here is my returnfuseaction in the action page on the other
end.
<!--- An update query runs here and then
passes down to the returnfuseaction --->
<cf_returnfuseaction
action="return"
gotourl="#request.webroot#/members/index.cfm?fuseaction=#attributes.gotofuse
action#">
The error that I am getting is
Error resolving parameter ATTRIBUTES.GOTOFUSEACTION. Where do I set that.
I don't want to hard code a return because in some cases this may be a new
user that has been referred by another customer and they will be taken to
somewhere other then the main account center when they agree to the terms.
I will need to route that user to the new user form first, then to terms,
then to a page with some transaction information already setup for them. I
hope that this all makes sense and I look forward to hearing your replies.
Bill
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.