Focus field - form

Questions related to using nuBuilder Forte.

Focus field - form

Postby toms » Sat Jan 27, 2018 7:09 pm

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.)
toms
 

Re: Focus field - form

Postby admin » Sun Jan 28, 2018 3:55 am

toms,

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

Steven
admin
Site Admin
 
Posts: 3154
Joined: Mon Jun 15, 2009 9:53 am

Re: Focus field - form

Postby toms » Sun Jan 28, 2018 5:21 pm

Thanks Steven!
toms
 

Re: Focus field - form

Postby admin » Sun Jan 28, 2018 5:30 pm

.
admin
Site Admin
 
Posts: 3154
Joined: Mon Jun 15, 2009 9:53 am

Re: Focus field - form

Postby toms » Sun Jan 28, 2018 8:27 pm

Steven,

There's a little issue. An error is thrown if there are no objects (e.g. on nuuserhome)

obj0_undefined_focus.png
obj0_undefined_focus.png (6.95 KiB) Viewed 665 times
toms
 

Re: Focus field - form

Postby admin » Mon Jan 29, 2018 1:57 am

toms,

All fixed now on Github.

Steven
admin
Site Admin
 
Posts: 3154
Joined: Mon Jun 15, 2009 9:53 am


Return to General