It's probably easiest to view this fiddle: http://jsfiddle.net/Ahfm7/4/
Only the agent and extension values in the dropdown have been implemented at this time.
I have encountered a couple of bugs I was hoping someone could help figure out.
The first is when you add a new row of dropdowns without selecting anything in the first and proceed to select an option in the second one, the form can be submitted.
Likewise if you pick an option in the first row, then add another and remove it, the submit button remains disabled.
I was just wondering if anyone knows how to fix this?