[Pin Code] 6 digits pin?

Forge Component
Published on 2018-04-23 by Labs
9 votes
Published on 2018-04-23 by Labs

It's more common in my country to have 6 digits pin or OTP.

Do this plugin have configurable digits?

If not, how easy to customize this plugin?



Hello, Harlin.

The component does support more than a 4 digit pincode.

Both Pincode_Register and Pincode_Unlock blocks have an input parameter PinLength you can set as desired. Set it as 0 (zero) and the user can set the PIN with as many chars as desired. This enables an OK button to confirm the pin.

Here's a link to the documentation.

You can also use the sample provided with the component to see some implementation use cases.

Hope this helps.



Hi Harlin,

The Pincode_Register Block has a "PinLength" input parameter. Isn't that what you're looking for?

EDIT: Ninja'd by Rui.

Thanks Rui and Killian.

It helps a lot.