cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Announcements
Choose one of the topics below to view our ISE Resources to help you on your journey with ISE

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.

1426
Views
2
Helpful
2
Replies
Highlighted
Cisco Employee

ISE Guest Portal validate phone number

Dear Experts,

Greetings,

Do we have a feature where ISE can perform a sanity check against the entered mobile number to ensure it starts with '04...' which is an Australian mobile number and rejects the landline number or show the message to the end-user, please type the mobile number instead of landline number.

For Example:

Some (dumb) users are entering their landline number instead of their mobile number.

Is there a way in ISE to perform a sanity check against the entered mobile number to ensure it starts with '04...' which is an Australian mobile number?

Guests are allowed to send the SMS only.

If this feature is not available, do we have any road-map?

Please advise...

Everyone's tags (5)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Cisco Employee

Re: ISE: Guest Portals | Mobile Number Sanity Check

Check this out, this may help you figure out something to work, i am not javascript guy but providing sample

This would be put in the optional content 2 on the self-registration page where the phone number is located. For more information working with javascript see my how to

<script>

(function(){

jQuery(document).ready(function() {

setTimeout(function(){

cisco.ise.validation.setPhoneRegex(/^05[0-9]{8}$/);

cisco.ise.validation.setPhoneNumberMessage("Please provide your phone number in format 05XXXXXXXX");

}, 100);

});

})();

</script>

self-reg-phone.png

View solution in original post

2 REPLIES 2
Highlighted
Cisco Employee

Re: ISE: Guest Portals | Mobile Number Sanity Check

Check this out, this may help you figure out something to work, i am not javascript guy but providing sample

This would be put in the optional content 2 on the self-registration page where the phone number is located. For more information working with javascript see my how to

<script>

(function(){

jQuery(document).ready(function() {

setTimeout(function(){

cisco.ise.validation.setPhoneRegex(/^05[0-9]{8}$/);

cisco.ise.validation.setPhoneNumberMessage("Please provide your phone number in format 05XXXXXXXX");

}, 100);

});

})();

</script>

self-reg-phone.png

View solution in original post

Highlighted
Cisco Employee

Re: ISE Guest Portal validate phone number

Also try out this script, it would give people indication on what they should enter.

<script>

jQuery('#ui_phone_number_label').attr("placeholder", "+41798764321”);

</script>

phone-placeholder-guest.png