Try this:

<cfif StructKeyExists(Form,'Name') AND Len(trim(Form.Name))>

        <cfoutput><p>You have requested CMS access for </cfoutput>

        <cfif StructKeyExists(Form,'RequestName') AND 
Len(trim(Form.RequestName))>
                <cfoutput><strong>#Form.Name#</strong> and 
<strong>#Form.RequestName#</strong>.</p></cfoutput>
        <cfelse>
                <cfoutput><strong>#Form.Name#</strong>.</p></cfoutput>
        </cfif>

<cfelse>
        <!--- TODO: No name selected (validation error?) --->
</cfif>


Hopefully all self-explanatory, but feel free to ask if any questions. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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-talk/message.cfm/messageid:323118
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to