The only way you can push 2 variables to a second URL is by using javascript to populate a hidden variable on post, pulling information from a "data" attribute.
For example, you'd define the following as your option...
<option data-customerid="123" name="customername" value="Marty McFly">Marty McFly, 123 Fake Street, 555-555-5555</option>
Then, using javascript...
$("#myform").submit( function(eventObj){
$(this).append('<input type="hidden" name="customerid" value="'+$('#myselect').find(':selected').attr('data-customerid');+'" /> ');
return true;
});
return true
at the end, then allows for the form to be posted in your normal way.
You will need to change #myform
and #myselect
in the above to the ID of your form, and the ID of your select element respectively.
If you want to send any more additional fields, repeat the line starting with `$(this), changing the ID accordingly.