<form name="form_1" action="">
Combobox 1: Ungency
<select class="element select medium" id="elem_1" name="elem_1">
<option value="" selected="selected"></option>
<option value="1">System does not work</option>
<option value="2">Critical bugs</option>
<option value="3">Small problem</option>
</select>
<br />
Combobox 2: Impact
<select class="element select medium" id="elem_2" name="elem_2">
<option value="" selected="selected"></option>
<option value="1">all Users</option>
<option value="2">lot of user</option>
<option value="3">Individual user</option>
</select>
<br />
Textfield: Priorization
<input id="elem_3" name="elem_3" class="element select medium" type="text" value="" readonly />
<script>
var sel = document.getElementById('elem_2');
sel.onchange = function() {
var elem_1 = document.form_1.elem_1;
var elem_2 = document.form_1.elem_2;
var elem_3 = document.form_1.elem_3;
var ungency = elem_1.value|0;
var impact = elem_2.value|0;
if (!ungency || !impact)
return;
var priority = Math.min(ungency + impact - 1, 4);
elem_3.value = "Prio " + priority;
}
</script>