$vendor =
($form->{selectvendor})
- ? qq|<select name="vendor" onclick="document.getElementById('update_button').click();">$form->{selectvendor}</select>|
+ ? qq|<select name="vendor"
+onchange="document.getElementById('update_button').click();">$form->{
+selectvendor } </select>|
: qq|<input name=vendor value="$form->{vendor}" size=35>|;
my @old_project_ids = ();
$customer =
($form->{selectcustomer})
- ? qq|<select name="customer" onclick="document.getElementById('update_button').click();">$form->{selectcustomer}</select>|
+ ? qq|<select name="customer"
+onchange="document.getElementById('update_button').click();">$form->{
+selectcustomer}</select>|
: qq|<input name=customer value="$form->{customer}" size=35>|;
$employee = qq|
$vendor =
($form->{selectvendor})
- ? qq|<select name="vendor" onclick="document.getElementById('update_button').click();">| .
+ ? qq|<select name="vendor"
+onchange="document.getElementById('update_button').click();">| .
qq|$form->{selectvendor}</select>\n<input type=hidden name="selectvendor" value="| .
Q($form->{selectvendor}) . qq|">|
: qq|<input name=vendor value="$form->{vendor}" size=35>|;
$customer =
($form->{selectcustomer})
- ? qq|<select name="customer" onclick="document.getElementById('update_button').click();">| .
+ ? qq|<select name="customer"
+onchange="document.getElementById('update_button').click();">| .
qq|$form->{selectcustomer}</select>\n<input type="hidden" name="selectcustomer" value="| .
Q($form->{selectcustomer}) . qq|">|
: qq|<input name="customer" value="$form->{customer}" size="35">|;
$vc =
($form->{"select$form->{vc}"})
- ? qq|<select name="$form->{vc}" onclick="document.getElementById('update_button').click();">| .
+ ? qq|<select name="$form->{vc}"
+onchange="document.getElementById('update_button').click();">| .
qq|$form->{"select$form->{vc}"}</select>\n<input type=hidden name="select$form->{vc}" value="| .
Q($form->{"select$form->{vc}"}) . qq|">|
: qq|<input name=$form->{vc} value="$form->{$form->{vc}}" size=35>|;