Question : How can I use jquery to auto create x amount of text fields below x amount of selections from a multiple list menu?

Hi,

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).

Thank you,

Brian
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
<!--- B: get sales reps --->
			<cfinvoke 
				component = "cfc.salesReps" 
				returnvariable="qSalesReps"
				method="getSalesReps">
				</cfinvoke> 
				
				<select name="SalesReps" multiple="multiple">
					<cfoutput query="qSalesReps">
					<option value="#record_id#">#first_name# #last_name#</option>
					</cfoutput>
				</select>

<input type="text" name="sales_rep_id">

Answer : How can I use jquery to auto create x amount of text fields below x amount of selections from a multiple list menu?

I would recommend getting site-to-site between branches as well as that would optimise network flow.  It won't bring the network down, just remove your static routes before you enable the new VPN and the router will handle the routing (sounds silly) between sites.  With setting up a route through head office means you're involving your head office connections unnecessarily for traffic that could just flow directly between the branches.

If you have Exchange servers at the branches for example then you could set up connectors between the two branches and e-mails between users in the branches won't need to go through head office.  Same would apply for VoIP calls if you have VoIP system, and so on.

Let us know how you get on.
Random Solutions  
 
programming4us programming4us