<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Restrict/Validate the person being visited email address in Sponsor portal Known page in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/restrict-validate-the-person-being-visited-email-address-in/m-p/3901515#M471067</link>
    <description>&lt;P&gt;I have tried this scripts&amp;nbsp; and&amp;nbsp; it is working now for the sponsor portal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Create Account for Known Guests (Paste this Script in Instructional text)
=======================================================================
&amp;lt;script&amp;gt;
    function customEmailValidator(){
        $.validator.addMethod("customemailvalidator", function(value, element) { 
            return /^(\w+\.?)+@(domain1|domain2|domain3)\.com$/.test( value );
        }, 'Please enter a valid email.'); 
         
        $(".personBeingVisited").rules("add",{customemailvalidator:true});                        
    }             
    $(document).ready(function(){
        setTimeout(function() {
            customEmailValidator();
                $('#createButton').on('click', function(evt){
                    setTimeout(function() {
                        $('.approve-accounts-content &amp;gt; div.ui-navbar &amp;gt; ul &amp;gt; li.ui-block-b &amp;gt; a').on('click', function(){
                            setTimeout(function() {
                                customEmailValidator();
                            }, 6000);
                        });
                    }, 4000);
                });
            $('.ui_create_accounts_button').on('click', function(){
                setTimeout(function() {
                    customEmailValidator();
                }, 5000);
            });
        }, 5000);
    });
&amp;lt;/script&amp;gt;
 &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2019 14:55:11 GMT</pubDate>
    <dc:creator>reachmearun.s</dc:creator>
    <dc:date>2019-08-01T14:55:11Z</dc:date>
    <item>
      <title>Restrict/Validate the person being visited email address in Sponsor portal Known page</title>
      <link>https://community.cisco.com/t5/network-access-control/restrict-validate-the-person-being-visited-email-address-in/m-p/3897466#M471065</link>
      <description>&lt;P&gt;I am trying to restrict Sponsor to enter mycompany.com domain in the person being visited field and restrict any other personal emails entered in this field. I am currently running ISE 2.2 with Patch14.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found a bug related to it&amp;nbsp;- &lt;A href="https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvq23221/?rfs=iqvred" target="_blank"&gt;https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvq23221/?rfs=iqvred&lt;/A&gt;&amp;nbsp; and logged a case with TAC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see the attached picture where in the Sponsor portal is allows me to use any personal emails to be entered in the person being visited field. Is there any working Java script to achieve this function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 10:23:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/restrict-validate-the-person-being-visited-email-address-in/m-p/3897466#M471065</guid>
      <dc:creator>reachmearun.s</dc:creator>
      <dc:date>2019-07-25T10:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict/Validate the person being visited email address in Sponsor portal Known page</title>
      <link>https://community.cisco.com/t5/network-access-control/restrict-validate-the-person-being-visited-email-address-in/m-p/3897614#M471066</link>
      <description>Please check &lt;A href="http://cs.co/ise-guest" target="_blank"&gt;http://cs.co/ise-guest&lt;/A&gt; look at sponsor portal create known accounts there is example there&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jul 2019 14:04:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/restrict-validate-the-person-being-visited-email-address-in/m-p/3897614#M471066</guid>
      <dc:creator>Jason Kunst</dc:creator>
      <dc:date>2019-07-25T14:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict/Validate the person being visited email address in Sponsor portal Known page</title>
      <link>https://community.cisco.com/t5/network-access-control/restrict-validate-the-person-being-visited-email-address-in/m-p/3901515#M471067</link>
      <description>&lt;P&gt;I have tried this scripts&amp;nbsp; and&amp;nbsp; it is working now for the sponsor portal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Create Account for Known Guests (Paste this Script in Instructional text)
=======================================================================
&amp;lt;script&amp;gt;
    function customEmailValidator(){
        $.validator.addMethod("customemailvalidator", function(value, element) { 
            return /^(\w+\.?)+@(domain1|domain2|domain3)\.com$/.test( value );
        }, 'Please enter a valid email.'); 
         
        $(".personBeingVisited").rules("add",{customemailvalidator:true});                        
    }             
    $(document).ready(function(){
        setTimeout(function() {
            customEmailValidator();
                $('#createButton').on('click', function(evt){
                    setTimeout(function() {
                        $('.approve-accounts-content &amp;gt; div.ui-navbar &amp;gt; ul &amp;gt; li.ui-block-b &amp;gt; a').on('click', function(){
                            setTimeout(function() {
                                customEmailValidator();
                            }, 6000);
                        });
                    }, 4000);
                });
            $('.ui_create_accounts_button').on('click', function(){
                setTimeout(function() {
                    customEmailValidator();
                }, 5000);
            });
        }, 5000);
    });
&amp;lt;/script&amp;gt;
 &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 14:55:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/restrict-validate-the-person-being-visited-email-address-in/m-p/3901515#M471067</guid>
      <dc:creator>reachmearun.s</dc:creator>
      <dc:date>2019-08-01T14:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict/Validate the person being visited email address in Sponso</title>
      <link>https://community.cisco.com/t5/network-access-control/restrict-validate-the-person-being-visited-email-address-in/m-p/4911346#M583623</link>
      <description>&lt;P&gt;how to place this script in portal page ?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 13:46:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/restrict-validate-the-person-being-visited-email-address-in/m-p/4911346#M583623</guid>
      <dc:creator>pruet.c@dcs.premier.co.th</dc:creator>
      <dc:date>2023-08-24T13:46:22Z</dc:date>
    </item>
  </channel>
</rss>

