<script language="javascript"> function setFields(combo) { for (i = 0; i < combo.length ; i++) { if (combo.options[i].value == 4) { document.tuform.tucampo.value = "tuvalor"; } } } </script>