Hi,

I call a function with the onblur and as parameter passing a certain value, like this:
onblur="CheckNum(this.value)"

When it appears that within the function the value is wrong I want to set the value to "0", but I have about 100 textboxes in which it can be wrong. How do I manage that ?

Code of the function is e.g. as follows:

function CheckNum(value1)
{
if (value>=1 && value<=8)
{
return true
}
else
{
return false
AND NOW the value of the calling textbox should be "0"
}
}

Help is appreciated, rgds Ger.