troubleshooting Question

multiple/nested cfforms

Avatar of lantervj
lantervjFlag for United States of America asked on
ColdFusion Language
4 Comments1 Solution453 ViewsLast Modified:
I have a cfform that has multiple cfdivs that contain cfforms so I can use cfselects. when the page is submitted not all the form elements are passed.
on the main page;
<cfdiv bind="url:/control/sitewide/cfms/DspDivSelectContacts.cfm?acronym=#QContactTypes.contact_type_acronym#&compid={SelectedCompanyId@change}" 
							bindonload="false" />

The div;
<cfset attributes.suppresslayout2 = "true" />
<cfparam name="url.compid" default="" />
<!--- <cfdump var="#url#" /> --->
<cfif url.compid NEQ "">
<cfform name="SelectForm#url.acronym#">			
<cfinvoke component="" method="getcontactListForSelect" compid="#url.compid#" 
specialty="#url.acronym#" returnvariable="QContactsList" />
<cfselect name="#url.acronym#">
	<cfloop query="QContactsList">
	<option value="#id#" 
	<cfif eq 0>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros