cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

This community is for technical, feature, configuration and deployment questions.
For production deployment issues, please contact the TAC! We will not comment or assist with your TAC case in these forums.
Please see How to Ask the Community for Help for other best practices.

2462
Views
0
Helpful
15
Replies
Highlighted
Beginner

CISCO ISE 2.4 - Guest Portal - CPF Field (validation with javascript)

Hi,
Please, could anyone help me?

I am creating a Guest Portal and according to Law we need to store the data of the user (Name, Phone, Email and CPF).
CPF (represents the ID of the Brazilian identity document) in format "999.999.999-99". I've created a new custom field for this.

However, to verify that the identity document is valid or invalid there is a javascript algorithm for validation.

I need help to do the validation of this custom field called CPF with some javascript. I do not know how to make the javascript call on CISCO ISE.

 

Links with the Javascript of validation of the CPF.
Script validation CPF https://www.geradorcpf.com/javascript-validar-cpf.htm
Test validation CPF https://www.geradorcpf.com/validar-cpf.htm

Mask JQuery https://www.geradorcpf.com/mascara-cpf-com-jquery.htm

 

On the internet there are other sites with the CPF validation algorithm

 

Thank you very much

Mauricio Pissinati

PS - I had made another Post, but when editing something went wrong and so I created this new post.

 

 

15 REPLIES 15
Highlighted

Hi everyone

 

Same problem here, the script works but only garantee that people type numbers, but how I can prove that people its type the correct information?

 

I must garantee that UserX have CPF valid

 

any news about it?