cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1858
Views
2
Helpful
3
Replies

Sponsor Portal Known Guest Account - select Email automatically on notify

Dear all,

My client wants to have the Email option automatically selected when notifying guests.

I am pretty sure this can be solved using java script.

Client is using ISE version 2.2 patch 1

Setup:

Client can create "known" guest accounts only, no import or random necessary.

After creating the account, the client wants to decide if client will be notified (email or print).

By default the Email option should be checked, "Copy to me" should be hidden.

Automatic email is not an option as sometimes the client don't have the mail address from guest.

Thanks and BR,

Stefan

1 Accepted Solution

Accepted Solutions

Serhii Pustovit
Cisco Employee
Cisco Employee

Hi Stefan,

Could you please try these scripts:

<script>

setTimeout(function() {

  $('.cisco-wizard-step:nth-child(3) .ui-grid-b .ui-block-c').hide();

  $('.cisco-wizard-step:nth-child(3) .ui-grid-b .ui-block-b').hide();

}, 5000);

</script>

<script>

$('[href="#createKnownAccountNotify"]').on('click', function() {

  setTimeout(function(){

    $('[for="createKnownAccountNotifyFormEmail"] .ui-icon-checkbox-off').click()

    $('[for="createKnownAccountNotifyFormCopyMe"]').hide()

    $('#createKnownAccountNotifyFormCopyMe').hide();

  }, 400);

   

});

</script>

You should to insert them into "Instructional text" of "Sponsor portal settings" customization page

Use 'Toggle to HTML' button.

Also you can increase/decrease delay for script.

Thanks.

View solution in original post

3 Replies 3

Jason Kunst
Cisco Employee
Cisco Employee

WE will get back to you

Serhii Pustovit
Cisco Employee
Cisco Employee

Hi Stefan,

Could you please try these scripts:

<script>

setTimeout(function() {

  $('.cisco-wizard-step:nth-child(3) .ui-grid-b .ui-block-c').hide();

  $('.cisco-wizard-step:nth-child(3) .ui-grid-b .ui-block-b').hide();

}, 5000);

</script>

<script>

$('[href="#createKnownAccountNotify"]').on('click', function() {

  setTimeout(function(){

    $('[for="createKnownAccountNotifyFormEmail"] .ui-icon-checkbox-off').click()

    $('[for="createKnownAccountNotifyFormCopyMe"]').hide()

    $('#createKnownAccountNotifyFormCopyMe').hide();

  }, 400);

   

});

</script>

You should to insert them into "Instructional text" of "Sponsor portal settings" customization page

Use 'Toggle to HTML' button.

Also you can increase/decrease delay for script.

Thanks.

Hi Serhii,

thank you so much, these scripts are working!

Thanks!

BR, Stefan