KR.field.focus()
Description
To give focus to a form field, you can use the KR.field.focus(FIELD_CLASS) method. You must pass the class of the embedded form field as a parameter.
Example of integration
For example, to add a button that will set focus on the expiry date field:
<button type="button" onclick="KR.fields.focus('kr-expiry')">Focus expiry field</button>