Mindinventory / MIOTPVerificationSPM

This package is used for validating the OTP fields.
https://www.mindinventory.com/iphone-application-development.php
28 stars 8 forks source link

How to respond first textfield when I clicked on other fields. #2

Closed GaneshMyNewCar closed 4 years ago

GaneshMyNewCar commented 4 years ago

Thanks for the earlier changes and for quick responses. And this repository is helping me so much. Thanks for the one.

ashishpatelmi commented 4 years ago

@GaneshMyNewCar

Means, You have entered 3 digits out of four and when you click on first, second or third then you want the switch to 4th text field or on the first field?

if you want to redirect on first then simple you can use the clear function for the same.

Can you please let me know the case?

Thanks,

GaneshMyNewCar commented 4 years ago

@ashishpatelmi

I've created an OTPView with 4 fields. When the user enters into the screen, he can just see the OTP fields (without a keyboard, no first responder). After that when the user clicked on OTP fields(second, third, fourth...) it should automatically switch to the 1st field.

All fields are empty. If the user clicks on any of the fields, it should switch to the first field only.

ashishpatelmi commented 4 years ago

GM @GaneshMyNewCar

I got your point. I will update you soon.

Thanks,

ashishpatelmi commented 4 years ago

@GaneshMyNewCar its done...