Oh so many questions.... 
I have a text box, which is validated through a function. Once the function is finished, I want to return the focus to the field, but it doesn't seem to be working. Below is a snippet of the code:
onkeyup="if (!(validatevalue({$question_code}, '{@ty}', '{$current_status}', this.value)))this.value='{$current_status}; this.onfocus()'"
Any suggestions?
thanks in advance

I have a text box, which is validated through a function. Once the function is finished, I want to return the focus to the field, but it doesn't seem to be working. Below is a snippet of the code:
onkeyup="if (!(validatevalue({$question_code}, '{@ty}', '{$current_status}', this.value)))this.value='{$current_status}; this.onfocus()'"
Any suggestions?
thanks in advance
Comment