Skip to content

Focus on first element of current step when changing steps #91

Closed
@vierkantemeter

Description

@vierkantemeter

I'm trying to give focus to the first form field on the current step when changing steps. As a default, the focus is on the step button, how can I change it to focus the first form field?

I tried:

onStepChanged: function (event, currentIndex, priorIndex)
{     
    $('#wizard .content :input:enabled:visible:first').focus();
}

but this isn't working unfortunately. Is this possible to accomplish?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions