I have multiple rows in a table and multiple columns in each row. Only one column is editable. When I hit tab key, is there a way for that to just go to the enabled column in next row instead of going to disabled columns?
Question
Question
Replies
replied on November 15, 2021
So you'll have to use javascript to accomplish this. Add the disableTab class to the field that you want tab to skip and then add this to your javascript area on the form. This is specifically for an input type element. So if you need it to work on other types you'll have to add those.
$('.disableTab input').attr('tabindex', -1);
1
0
replied on November 15, 2021
This will allow you to accomplish it without having to add classes
$(document).ready(function() {
$('input[readOnly="true"]').attr("tabindex", -1);
});
1
0
replied on November 15, 2021
If your table is being loaded by a lookup rule you will need to put the code in a
$(document).on("onloadlookupfinished", function() {
instead of
$(document).ready(function() {
Have fun
0
0
replied on November 15, 2021
Thank you all.
0
0
You are not allowed to follow up in this post.