You're welcome!
>That was it. Thanks Tore.
>
>>Maybe this is better
>>
>>nodefault
>>this.selstart=at('4',this.value)
>>dodefault()
>>
>>>Your code does not place the cursor at the right place. The cursor is always positioned at the place it was last positioned when exiting that field.