• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Setting focus on form field after button press

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setting focus on form field after button press

    Is there a way to set focus on a field after a button has been pressed? Thanks.

  • #2
    Does the button press call a back end program?

    Comment


    • #3
      Correct, the button press calls a back end program.

      Comment


      • #4
        I see where you are going with this. Thanks!

        Comment


        • #5
          Yes, just adding this in case anybody else finds it useful.
          • In NAB while editing your application, give your form widget a "friendly" name...suppose you name it "orderForm".
          • In your back-end program:
            • SetWidget('orderForm');
            • SetResponse('formFieldFocus':'MY_FIELD_NAME');

          Comment

          Working...
          X