tauto
asked on
Returning multiple columns from dynamic drop list
I've created a form using Dreamweaver CS3 and Coldfusion MX6. I have a dynamic drop down list that displays "Employee Name" but returns the vaule "Employee ID". What is the easiest way to capture another column in the selected recordset e.g. "Employee Alternate Name"?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I ended up passing "employeeid" to another page and running a sepearte query to return "alternataname". Thanks for the help!
ASKER
<form id="form" name="form" method="post" action="test_output.cfm">
<label>
<span class="style1">Employee Name:</span>
<select name="Employee" id="Employee">
<option value="null"></option><cfo
<option value="#EmployeeRecordSet.
</cfoutput>
</select>
<input name="AlternateName" type="hidden" id="name" value="<cfoutput>#Employee