<?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: on Registration Form additional Button to.... in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3857752#M473132</link>
    <description>ok someone is looking at that, its rather a funny ask. It seems like you want a button that gives user option to select standard or half year and returns different location information depending on that choice?</description>
    <pubDate>Thu, 16 May 2019 17:30:39 GMT</pubDate>
    <dc:creator>Jason Kunst</dc:creator>
    <dc:date>2019-05-16T17:30:39Z</dc:date>
    <item>
      <title>on Registration Form additional Button to....</title>
      <link>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3855714#M473126</link>
      <description>&lt;P&gt;Hi community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;on the registration form i need an additional button,&lt;/P&gt;&lt;P&gt;which hide or show form fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is anybody there who can give me a hand?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;BR /&gt;Jacob&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 09:09:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3855714#M473126</guid>
      <dc:creator>jacob.parker</dc:creator>
      <dc:date>2019-05-14T09:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: on Registration Form additional Button to....</title>
      <link>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3855783#M473128</link>
      <description>Please explain further exactly what you’re needing to happen&lt;BR /&gt;</description>
      <pubDate>Tue, 14 May 2019 10:35:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3855783#M473128</guid>
      <dc:creator>Jason Kunst</dc:creator>
      <dc:date>2019-05-14T10:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: on Registration Form additional Button to....</title>
      <link>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3855867#M473130</link>
      <description>&lt;P&gt;i upload two pictures.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;guest-portal.standard&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;guest-portal.half_year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;guest-portal.standard&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="guest-portal.standard.png" style="width: 974px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/36672i52F2AB6C67D6B227/image-size/large?v=v2&amp;amp;px=999" role="button" title="guest-portal.standard.png" alt="guest-portal.standard.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;guest-portal.half_year&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="guest-portal.half_year.png" style="width: 993px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/36671i8EDB66F8FD79C6BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="guest-portal.half_year.png" alt="guest-portal.half_year.png" /&gt;&lt;/span&gt;The guest portal form fields is the standard registration form for one week access. On this form the location form field is not needed and i set it on hidden.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now the guests must have the ability to show the location form field, because it's a must for the process to sort the request to the proper department.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;aim:&lt;/P&gt;&lt;P&gt;If the guest click the 'register for a half year' button, then the location form field should be visible on the registration form.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My script looks like this:&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;(function(){&lt;BR /&gt;setTimeout(function(){&lt;BR /&gt;&lt;BR /&gt;//Script for dropdown weekly/quarterly &amp;amp; sms formularfield not required !!&lt;BR /&gt;&lt;BR /&gt;var persons = {&lt;BR /&gt;&lt;BR /&gt;'xxxxxxxxxx':'xxxxxxxxx',&lt;BR /&gt;'aaaaaaa':'aaaaaaaaa',&lt;BR /&gt;'city':'city',&lt;BR /&gt;'location':'location'&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;jQuery('#guestUser\\.fieldValues\\.ui_phone_number').attr("class","");&lt;/P&gt;&lt;P&gt;jQuery("input[name='guestUser.fieldValues.ui_company']").parent().hide();&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_duration_text']").parent().hide();&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_phone_number']").parent().hide();&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_location']").parent().hide();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;jQuery("input[name='guestUser.fieldValues.ui_duration_text']").parent().hide();&lt;BR /&gt;&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_duration_text']").parent().after("&amp;lt;div class='ui-select'&amp;gt;&amp;lt;div data-corners='true' data-shadow='true' data-iconshadow='true' data-wrapperels='span' data-icon='arrow-d' data-iconpos='right' data-theme='a' class='ui-btn ui-shadow ui-btn-corner-all ui-btn-icon-right ui-btn-up-a' id='outerDiv'&amp;gt;&amp;lt;span class='ui-btn-inner'&amp;gt;&amp;lt;span class='ui-btn-text'&amp;gt;&amp;lt;span id='displayName'&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span class='ui-icon ui-icon-arrow-d ui-icon-shadow'&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;select name='guestUser.fieldValues.ui_duration_text' id='guestUser.fieldValues.ui_duration_text' class='ui-body-a'&amp;gt;&amp;lt;/select&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;");&lt;BR /&gt;&lt;BR /&gt;jQuery.each( persons, function( key, value ) {&lt;BR /&gt;&lt;BR /&gt;jQuery('#guestUser\\.fieldValues\\.ui_duration_text').append("&amp;lt;option value="+value+"&amp;gt;"+key+"&amp;lt;/option&amp;gt;");&lt;BR /&gt;&lt;BR /&gt;});&lt;BR /&gt;&lt;BR /&gt;jQuery('#guestUser\\.fieldValues\\.ui_duration_text &amp;gt; option:first-child').attr('selected', 'selected');&lt;BR /&gt;&lt;BR /&gt;jQuery('#guestUser\\.fieldValues\\.ui_duration_text').on('change', function(evt){&lt;BR /&gt;&lt;BR /&gt;jQuery("#guestUser\\.fieldValues\\.ui_company").val(jQuery(this).val());&lt;BR /&gt;&lt;BR /&gt;jQuery('#displayName').html(jQuery(this).find('option:selected').text());&lt;BR /&gt;&lt;BR /&gt;});&lt;BR /&gt;&lt;BR /&gt;jQuery('#guestUser\\.fieldValues\\.ui_duration_text').trigger('change');&lt;BR /&gt;&lt;BR /&gt;},250);&lt;BR /&gt;&lt;BR /&gt;})();&lt;/P&gt;&lt;P&gt;jQuery("input[name='guestUser.fieldValues.ui_duration_text']").parent().hide();&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_phone_number']").parent().hide();&lt;/P&gt;&lt;P&gt;//----------------------------&lt;BR /&gt;//jQuery('#guestUser\\.fieldValues\\.ui_phone_number').attr("class","");&lt;/P&gt;&lt;P&gt;jQuery("#guestUser\\.fieldValues\\.ui_phone_number").attr("value", "+49 173 123456789");&lt;BR /&gt;jQuery("#guestUser\\.fieldValues\\.ui_phone_number").parent().attr("type", "Phone");&lt;/P&gt;&lt;P&gt;//jQuery("#guestUser\\.fieldValues\\.ui_location").sort();&lt;/P&gt;&lt;P&gt;setTimeout(function(){&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;$.validator.addMethod("customemailvalidator", function(value, element) {&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;return /^(\w+\.?)+@xxxxxxxxxx\.com$/.test( value );&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;}, 'Please enter a valid email xxxxxxxxxxxx domain.');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;jQuery("[name='guestUser.fieldValues.ui_person_visited']").rules("add",{customemailvalidator:true});&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;}, 50);&lt;/P&gt;&lt;P&gt;//------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 12:05:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3855867#M473130</guid>
      <dc:creator>jacob.parker</dc:creator>
      <dc:date>2019-05-14T12:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: on Registration Form additional Button to....</title>
      <link>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3855869#M473131</link>
      <description>second registration form should be for a half year duration. That will sponsors people edit.</description>
      <pubDate>Tue, 14 May 2019 12:07:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3855869#M473131</guid>
      <dc:creator>jacob.parker</dc:creator>
      <dc:date>2019-05-14T12:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: on Registration Form additional Button to....</title>
      <link>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3857752#M473132</link>
      <description>ok someone is looking at that, its rather a funny ask. It seems like you want a button that gives user option to select standard or half year and returns different location information depending on that choice?</description>
      <pubDate>Thu, 16 May 2019 17:30:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3857752#M473132</guid>
      <dc:creator>Jason Kunst</dc:creator>
      <dc:date>2019-05-16T17:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: on Registration Form additional Button to....</title>
      <link>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3859396#M473133</link>
      <description>&lt;P&gt;Hi Jason,&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes - that was my aim.&lt;/P&gt;&lt;P&gt;But i&amp;nbsp;deprecated my idea to do this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Jacob&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 14:08:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3859396#M473133</guid>
      <dc:creator>jacob.parker</dc:creator>
      <dc:date>2019-05-20T14:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: on Registration Form additional Button to....</title>
      <link>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3859448#M473134</link>
      <description>Sorry I don’t understand deprecated your idea? Are you no longer needing this?&lt;BR /&gt;</description>
      <pubDate>Mon, 20 May 2019 14:52:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3859448#M473134</guid>
      <dc:creator>Jason Kunst</dc:creator>
      <dc:date>2019-05-20T14:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: on Registration Form additional Button to....</title>
      <link>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3859483#M473135</link>
      <description>&lt;P&gt;no - i don't needing it. I choose another solution for this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 15:39:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/on-registration-form-additional-button-to/m-p/3859483#M473135</guid>
      <dc:creator>jacob.parker</dc:creator>
      <dc:date>2019-05-20T15:39:11Z</dc:date>
    </item>
  </channel>
</rss>

