Prevent cursor from jumping to next field on Enter?

rahul_jnkrahul_jnk Member Posts: 61
Hi all,

Is it possible to make the cursor stay at the same field in a page upon pressing enter key?

Regards,
Rahul

Best Answer

Answers

  • rahul_jnkrahul_jnk Member Posts: 61
    Hi Juhl,

    Thanks for the reply.

    Actually, I'm having two fast tabs one with this field (Barcode) only. When I'm doing a barcode scan it moves to the lines in the second fast tab. I want to prevent this from happening, i.e. I want the cursor to stay on the barcode field so that i can make a second scan. If there is some implementation similar to control.focus() then it will be helpful.
  • JuhlJuhl Member Posts: 724
    I do this by making the validation on, say item no. Field, and then only have lines. The item no. field is quick entry, and in the code I catch the barcode,and do whatever.

    This way I have made simple pos system, with cut down invoice page and subpage.
    Where you just scan all items.
    Follow me on my blog juhl.blog
  • JuhlJuhl Member Posts: 724
    Don't know if you can disable quick entry on list page, the lines!
    Follow me on my blog juhl.blog
  • rahul_jnkrahul_jnk Member Posts: 61
    Hey Juhl,

    Thank you. I didn't group properly i.e. the field was not on its own Fasttab. Now its working. :)
  • JuhlJuhl Member Posts: 724
    Your welcome
    Follow me on my blog juhl.blog
  • HaiderrrrHaiderrrr Member Posts: 2
    I have the same query can you plz elaborate the solution.
Sign In or Register to comment.