Alright, my brain is locked-up today, so I'm just going to ask.
I need to make a set of cfif statements to so that if the dropdown
value is '' then it skips the action. If the dropdown is 'other',
then it needs to check to see if fname and lname both have values
before it does the action. If the dropdown is anything else, then it
does the action but doesn't need to do the fname, lname check.
Do I just need to have the action in there twice? If so, I can make
a file out of it and include it.
here's my current failure:
<cfloop from="1" to="#Form.editorcount#" index="ee">
<cfif evaluate("Form.editor_#ee#") NEQ ''>
<cfif evaluate("Form.e_fname_#ee#") NEQ '' OR evaluate
("Form.e_lname_#ee#") NEQ ''>
action: do something
</cfif>
</cfif>
</cfloop>
thanks.
--
Daniel Kessler
College of Health and Human Performance
University of Maryland
Suite 2387 Valley Drive
College Park, MD 20742-2611
Phone: 301-405-2545
http://hhp.umd.edu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 &
Flex 2
Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276207
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4