set focus on first field

Questions related to using nuBuilder Forte.

set focus on first field

Postby ARWEN » Sun Jan 06, 2019 6:09 am

Steven,

From nuform.js:

Code: Select all
   if(nuFormType() == 'edit' && nuIsNewRecord() && f.objects.length > 0){
      obj0.focus();
   }


Wouldn't it be useful to set the focus on the first field in any case, not just for new recrods? What do you think?
ARWEN
 
Posts: 40
Joined: Thu Nov 01, 2018 2:31 pm

Re: set focus on first field

Postby ARWEN » Mon Jan 07, 2019 3:19 pm

So, what do you think?
ARWEN
 
Posts: 40
Joined: Thu Nov 01, 2018 2:31 pm


Return to General



cron