Customer Portal

Get Involved. Join the Conversation.

Topic

    Aparajit Malli
    How to require 1 number in Contact Passwords?Answered
    Topic posted June 11, 2019 by Aparajit MalliBronze Medal: 1,250+ Points 
    48 Views, 3 Comments
    Title:
    How to require 1 number in Contact Passwords?
    Summary:
    How to require 1 number in Contact Passwords?
    Content:

    Hi,

        We have a Password requirement to have at least 1 number in the Contact password. So, in the "Contact Password Configuration", I set the "Numbers and Special Characters" to 1. 

    When I tested it, I gave some alphabets and 1 special character (and no numbers), it still accepted it. 

    Is there a way I can configure to enforce number only (1 number is required per password rules)?

    Any help is appreciated. 

     

    Thanks,

    Aparajit

    Version:
    19A

    Best Comment

    Sebastiaan Draaisma

    I think the only way to do this is to create your own password widget with your own specific requirements. This would then allow you to specify digits only with a regex check.

    Comment

     

    • Sebastiaan Draaisma

      Hi Aparajit

      You need to ad this component to your navset, from there you can configure the settings
      Numbers only is not an option. It will be either number and or special char.
      You are also unable to specify which special chars can be used.

    • Aparajit Malli

      Yes, I already have that in the Navset. 

      I selected "Numbers and Special Characters" as 1. 

      But, in the password, when I give some alphabets and 1 special character (and no number), it gets satisfied. 

      How do I enforce atleast 1 number?

    • Sebastiaan Draaisma

      I think the only way to do this is to create your own password widget with your own specific requirements. This would then allow you to specify digits only with a regex check.