[Pin Code] 6 digits pin?

[Pin Code] 6 digits pin?

  
Forge Component
(7)
Published on 23 Apr by Labs
7 votes
Published on 23 Apr 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?

Thanks.

Solution

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.

Cheers

Solution

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.