myafa,
if ((parseInt(document.custinfo_form.ves.value)<10) || (parseInt(document.custinfo_form.ves.value)>3))
Под это условие подходит всё ...скорее всего надо
if ((parseInt(document.custinfo_form.ves.value)<10)&&(parseInt(document.custinfo_form.ves.value)>3))
или
if ((parseInt(document.custinfo_form.ves.value)>10)||(parseInt(document.custinfo_form.ves.value)<3))
|