I have a list menu that is populated by our sales reps. I have a field below the list menu that the user can enter in a percent for the sale. However I need to make it so the list menu can select multiple sales reps and based on how many sales reps are selected I would like the same amount of text fields to populate below. Each one of the sales reps selected in the list menu should auto create the text fields with a sales rep assigned to each field (percent of sale).
<!--- B: get sales reps --->
component = "cfc.salesReps"
<select name="SalesReps" multiple="multiple">
<option value="#record_id#">#first_name# #last_name#</option>
<input type="text" name="sales_rep_id">