Can't make it work ( SMS verification experince )


after many attempts i gave up , i’m trying to make the inputs when the user put one number on there switch to the next input and if reached the last one an action should be called to verify if it’s right or wrong, also if the user clicks in an input he entered a number already on it the number should be editable so the user can edit the code if he entered it wrong… anyone can help ?