Cursor positioning

Hi,

I have an action hotspot which displays a dialog box.The form have a hidden field which takes the value same as that entered in the field in the dialog box.

If i try to enter a value in the dialog box(a multi valued field) the cursor goes to the beginning of the form.

I need to scroll down again to enter another value using the action hotspot.

Could anyone help me out in solving it.