Move Focus to Another Field

How do you move focus to another field once a value is changed on a field?

fd.field('field1').$on('change', function(value) {
    fd.field('field9').focus();     ?????
});

Thank you for your assistance with this!

Hello @COR6603,

You can use this code to focus on a different field:

 fd.field('field1').$on('change', function(value) {
    $(fd.field('field9').$parent.$el).find('input').focus();
});

That worked perfectly. Thank you!

1 Like