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.

395
Views
1
Helpful
1
Replies
Highlighted
Cisco Employee

Guest Self-Registration with Sponsor print

My customer is looking to provide guest access to self-register their own account. When the guest submit the request it goes to the the sponsor's email (person being visited) and the sponsor will then print out the guest credentials and hand it to the guest.

I was able to change some fields around but also want to restrict email domain as the guest could easily send the login to his/her personal email and bypass the system. So I want to limited the sending to email domain only to the Company's email domain (basically the guest must always send to Corporate email domain.

Everyone's tags (5)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Cisco Employee

Re: Guest Self-Registration with Sponsor print

The solution is to do the following:

Under portal page settings

Self-reg page

  • email address field as mandatory
  • uncheck person being visited
  • After registration submission, direct guest to "Login page with instructions"

Under Portal page customization

self-reg page

  • change email address field to 'person being visited'
  • Login page message, change to 'your credentials have been emailed to your sponsor who will print them out'

To validate the email address use the following code

This code is placed in the Optional Content 2 area of the Self-registration page when under the HTML editor (far right on the actions bar):

<script>
     setTimeout(function(){
          $.validator.addMethod("customemailvalidator", function(value, element) {
       return /^\w+@cisco\.com$/.test( value );
     }, 'Please enter a valid email.');
    
     jQuery("[name='guestUser.fieldValues.ui_email_address']").rules("add",{customemailvalidator:true});
     }, 50);
</script>

You can change orange string on your email domain. For example: "foo\.com", "bar\.gov"

View solution in original post

1 REPLY 1
Highlighted
Cisco Employee

Re: Guest Self-Registration with Sponsor print

The solution is to do the following:

Under portal page settings

Self-reg page

  • email address field as mandatory
  • uncheck person being visited
  • After registration submission, direct guest to "Login page with instructions"

Under Portal page customization

self-reg page

  • change email address field to 'person being visited'
  • Login page message, change to 'your credentials have been emailed to your sponsor who will print them out'

To validate the email address use the following code

This code is placed in the Optional Content 2 area of the Self-registration page when under the HTML editor (far right on the actions bar):

<script>
     setTimeout(function(){
          $.validator.addMethod("customemailvalidator", function(value, element) {
       return /^\w+@cisco\.com$/.test( value );
     }, 'Please enter a valid email.');
    
     jQuery("[name='guestUser.fieldValues.ui_email_address']").rules("add",{customemailvalidator:true});
     }, 50);
</script>

You can change orange string on your email domain. For example: "foo\.com", "bar\.gov"

View solution in original post