Hi all,
Can somebody help me out. I wondering if there is a way to populate other dropdown box based on the first dropdown selection. The coding is given below
<select name="pan_cementum_cd">
<cfloop query="PC">
<option value="<cfoutput>#PC.Code#</cfoutput>"><cfoutput>#PC.Code#|#PC.Description#</cfoutput></option></cfloop>
</select>
*
Pan Type <select name="pan_type_cd">
<cfloop query="PT">
<option value="<cfoutput>#PT.Code#</cfoutput>"><cfoutput>#PT.Code#|#PT.Description#</cfoutput></option>
</cfloop>
</select>
Pan Continuity
<select name="pan_continuity_cd">
<cfloop query="pcon">
<option value="<cfoutput>#pcon.Code#</cfoutput>"><cfoutput>#pcon.Code#|#pcon.Description#</cfoutput></option>
</cfloop>
</select>
Pan Structure
<select name="pan_structure_cd">
<cfloop query="PS">
<option value="<cfoutput>#PS.Code#</cfoutput>"><cfoutput>#PS.Code#|#PS.Description#</cfoutput></option>
</cfloop>
</select>
From this "pan_cementum_cd" dropdown field I need to control what should appear in the other 3 dropdown values. Is there a way to do it, if so please help me out. Thank's
Can somebody help me out. I wondering if there is a way to populate other dropdown box based on the first dropdown selection. The coding is given below
<select name="pan_cementum_cd">
<cfloop query="PC">
<option value="<cfoutput>#PC.Code#</cfoutput>"><cfoutput>#PC.Code#|#PC.Description#</cfoutput></option></cfloop>
</select>
*
Pan Type <select name="pan_type_cd">
<cfloop query="PT">
<option value="<cfoutput>#PT.Code#</cfoutput>"><cfoutput>#PT.Code#|#PT.Description#</cfoutput></option>
</cfloop>
</select>
Pan Continuity
<select name="pan_continuity_cd">
<cfloop query="pcon">
<option value="<cfoutput>#pcon.Code#</cfoutput>"><cfoutput>#pcon.Code#|#pcon.Description#</cfoutput></option>
</cfloop>
</select>
Pan Structure
<select name="pan_structure_cd">
<cfloop query="PS">
<option value="<cfoutput>#PS.Code#</cfoutput>"><cfoutput>#PS.Code#|#PS.Description#</cfoutput></option>
</cfloop>
</select>
From this "pan_cementum_cd" dropdown field I need to control what should appear in the other 3 dropdown values. Is there a way to do it, if so please help me out. Thank's