>>I tried both, same problem.
>>
>>But when I replace the 'DO FORM' line with '? "TEST" everyting works fine.
>>
>>So the FORM messes up the normal focus behaviour.
>
>Just wondering if this.setfocus after Do Form would do the trick?
You cannot use this.setfocus in the valid of the textbox.
--sb--