OP: @cdelarosa
I have recently getting a lot of request from our clients that they want that the user does not need to click the log in button when the sponsor authorize the user
For example when you register, you sit in there waiting that the sponsor authorize you and you see the button on gray.
When the sponsor give you the aproval then the button activate and you can click it.
There is a way to make this automatically so the user does not need to do anything. As soon as the sponsor aprove with this script, the clearpass will click that log in button for you automatically, this way the user does not need to do anything, he just log in automatically which is easier for the end user.
Now how do i do this??
Its really simple
Go to the guest selft registration page
Click on receipt page and paste this script on the footer HTML
{if $user.enabled} <script type="text/javascript"><!--{literal} addLoadEvent(function() { Nwa_SubmitForm(_form_name,"ID_"+_form_name+"_submit"); }); //--> {/literal}</script> {/if}
Like this
Click save change and you done.
What this script does is that when the account is enable he will run a another script that will basically click the log in button for you :)
Cheers
Carlos
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.