Most of the fields I want to present on a page are contained within
USERDETAILS structure variable, e.g. UserDetails.UserID,
UserDetails.UserName, UserDetails.PrimaryEmail
Is there a way to reference these while using the variable UserDetails only
once?
Something like this:
<CFOutput>
With UserDetails
UserID = #UserID#
UserName = #UserName#
Email = #PrimaryEmail#
EndWith
</CFOutput>
Instead of this:
<CFOutput>
UserID = #UserDetails.UserID#
UserName = #UserDetails.UserName#
Email = #UserDetails.PrimaryEmail#
</CFOutput>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm