Quantcast

How to focus first tab index input field when navigation tabs are selected

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to focus first tab index input field when navigation tabs are selected

udayram
Hi All,

While navigation tabs are selected the tab index should start from the first index input field.

Now existing behavior is if we navigate any tabs the tab index is start only the input field is string doctype if decimal and integer the tab index not starting and not focusing any field.

Please suggest us how can we focus first index while navigating the tab.

Looking forward to your favorable reply.

Thanks and Regards,
Uday
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to focus first tab index input field when navigation tabs are selected

Alessandro  Vernet
Administrator
Hi Uday,

Which component are you using for tabs? I assume this is for XForms you are writting yourself, not using Form Builder, correct? And could you illustrate the focus issue you're seeing with a screenshot, as I am not picturing what the issue is based on your descripion?

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to focus first tab index input field when navigation tabs are selected

udayram
This post was updated on .
Hi Alex,

I am using Form builder and configured wizard. For this one tab should active always.

Section:1


Section:2


For Attached image, I have created 2 section (Section1, Section2). First Section 2 Text field and Section 2 I have inserted 6 input fields and Section 2 First 3 input fields (Text1, Text2, Text 3) changed doctype to deceimal and other same String input field. While clicking on section2 the cursor directly focusing Text4 insted of Text1.

I observed this tab clicks always focus only String text doctype not Decimal.

I need solution while clicking on section 2 the focus should start Text1 instead of Text4.

Please Suggest.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to focus first tab index input field when navigation tabs are selected

Alessandro  Vernet
Administrator
Hi Uday,

Thank you for the screenshots; this is helpful. The problem is that the focus used to be set to the first "simple" input field (xf:input), and a text field of type decimal was an fr:number, not xf:input, so it was "skipped". This has already been fixed, and the fix will be in our next release:

https://github.com/orbeon/orbeon-forms/issues/1958

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to focus first tab index input field when navigation tabs are selected

udayram
Hi Alex,

Thank you for your reply. This changes are when should be available for your next release and which version.

Regards,
Uday
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to focus first tab index input field when navigation tabs are selected

Alessandro  Vernet
Administrator
Hi Uday,

Hopefully before the end of the year. And if you have a current PE subscription, feel free to get in touch with through your support channel, and we should be able to create a patch for you.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to focus first tab index input field when navigation tabs are selected

udayram
This post was updated on .
Hi Alex,

Could you please confirm the tabs changes issue available in the current version.

Currently available version : 2016.3 CE.

As for your previous mail this changes are available next release build.

Looking forward to your reply.

Regards,

Uday
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to focus first tab index input field when navigation tabs are selected

Alessandro  Vernet
Administrator
Hi Uday,

Yes, issue #1958 is fixed in 2016.3, which is now available for download. And of course, you'll let us know if you're seeing any problem with that build.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Loading...