Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Focus field - form Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Focus field - form

Unread post by toms »

Hi,

Is there a simple way to set the focus on the first input field min(tab_order) on loading a form without having to know the id of the object? ( e.g. when a new or existing record is opened.)
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Focus field - form

Unread post by admin »

toms,

Latest Github has the focus set to the first Object on new records.

Steven
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Focus field - form

Unread post by toms »

Thanks Steven!
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Focus field - form

Unread post by admin »

.
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Focus field - form

Unread post by toms »

Steven,

There's a little issue. An error is thrown if there are no objects (e.g. on nuuserhome)
obj0_undefined_focus.png
You do not have the required permissions to view the files attached to this post.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Focus field - form

Unread post by admin »

toms,

All fixed now on Github.

Steven
Post Reply