cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

On a Nintex form is there any way to set focus and tab order?

Jump to solution

I have a noticeable problem on a form where I added a field later in my sequence. The field is a Name Field. Even though it is the far top left field, the focus lands on the Department field to the right. 

I couldn't find any attribute to change the order of focus or tab order. Where are the rocks--so I can walk on water ;-)

Please point to something obvious or some inciteful code.

thanks, I'm looking for my second miracle today--you guys are good!

Stephan 

Labels: (1)
0 Kudos
Reply
8 Replies
Workflow Hero

Re: On a Nintex form is there any way to set focus and tab order?

Jump to solution

there is not an OOTB possibility.

there is already a request on uservoice for the functionality, where you can vote for it.

https://nintex.uservoice.com/forums/229406-2-nintex-forms-for-sharepoint/suggestions/7851900-easily-... 

with javascript you can set focus to a given control like

NWF$('#' + jsName).focus();
Reply
Workflow Hero

Re: On a Nintex form is there any way to set focus and tab order?

Jump to solution

How do you find the jsname. I've tried locating it with my F12.

I came up with this which doesn't work:

NWF$('#ctl00_ctl43_g_54bcf928_58f2_460b_b4c3_05c70f01b93a_ctl00_ListForm2_formFiller_FormView_ctl22_10ef0733_a8c9_4ab4_97ce_80f52f4a2132').focus();

0 Kudos
Reply
Workflow Hero

Re: On a Nintex form is there any way to set focus and tab order?

Jump to solution

Define your own in control's configuration dialog in advanced section

Reply
Workflow Hero

Re: On a Nintex form is there any way to set focus and tab order?

Jump to solution

Could you expand your comment? I can't relate to what you said.

thanks,

Stephan

Reply
Workflow Hero

Re: On a Nintex form is there any way to set focus and tab order?

Jump to solution

Reply
Workflow Hero

Re: On a Nintex form is there any way to set focus and tab order?

Jump to solution

I'm not sure if it's correct or not, but I found that the focus works top left to bottom right. So is your control on the right higher than the control on the left?

A way to manage this is with Panels.

When I want to create a column effect on the form like below

Address 1               Email

Address 2               Phone

City                        Fax

Zip

Here my users would want to fill in all the address details on the left first rather than the sequence being Address 1 > Email > Address 2 > Phone and so forth.

So by putting the address controls in a panel and the contact controls (email, phone fax) in a separate panel, the tab index for these would go Address 1 > Address 2 > City > Zip and then across to the second panel it would be Email > Phone > Fax.

You just need to make sure that the panel on the left is at level with the panel on the right or higher to ensure the focus goes to the panel on the left first.

If the right is slightly higher, then the focus will go there first.

Hope this helps.

Reply
Workflow Hero

Re: On a Nintex form is there any way to set focus and tab order?

Jump to solution

Hi Stephen,

If one of these solutions provided an answer for you, can you mark it correct please for future users.

Thanks

0 Kudos
Reply
Workflow Hero

Re: On a Nintex form is there any way to set focus and tab order?

Jump to solution

Thanks, I just wasn't seeing what you were saying.

Reply