This is a migrated thread and some comments may be shown as answers.

Password content validation

3 Answers 171 Views
Input
This is a migrated thread and some comments may be shown as answers.
George
Top achievements
Rank 2
George asked on 05 Mar 2015, 05:19 PM
I have a password input box with some password strength settings and an indicator show the password strength. That works fine, getting the password work fine.

But now I would like the password strength settings to be enforced and reject non complying passwords.  Is there a way to know the constraints are satisfied short of writing my own code the count lower case/upper case/number/special characters myself?

The documentation says nothing and the password examples do not submit.

Thanks,
George

3 Answers, 1 is accepted

Sort by
0
Accepted
Maria Ilieva
Telerik team
answered on 10 Mar 2015, 01:31 PM
Hello George,

Note that the password strength checker operates on the client and it can not perform server validation as you need. In your case you can apply some custom validator or handle the "OnClientPasswordStrengthCalculating" event and perform some custom validation as per your needs.

Regards,
Maria Ilieva
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
George
Top achievements
Rank 2
answered on 10 Mar 2015, 03:44 PM
I guess I write my own code to check password compliance since I require it on the server. 

Thank you for the answer,
George
0
liu
Top achievements
Rank 1
Veteran
answered on 07 Jul 2020, 02:10 PM

hello,
how telerik calculate the Strength of password? where i can get info? 
for example telerik pu score 10% what does it mean? like less 10 caractest or there is no uppercase caracters? 
var calculatedScore = args.get_strengthScore(); --> how it get this score?
Tags
Input
Asked by
George
Top achievements
Rank 2
Answers by
Maria Ilieva
Telerik team
George
Top achievements
Rank 2
liu
Top achievements
Rank 1
Veteran
Share this question
or