When creating a ClearPass Guest Self Registration that is meant for a throwaway type of encounter you will probably want to skip the receipt page rather than make the customer click on the “Login” button. A simple bit of code in the footer of the receipt page will submit the form for you.
Just a note: Do not edit the fields in the form, leave them as is. If you don’t want the form to show up to the user then apply the CSS to hide the form.
All credit to Harry Dehal for pointing out the method. The original How-To with code examples is available at Arubapedia.
Immediate Submit
<script type="text/javascript"><!--{literal} addLoadEvent(function() { Nwa_SubmitForm(_form_name,"ID_"+_form_name+"_submit"); }); //--> {/literal}</script>
Delayed Submit
<script type="text/javascript"><!--{literal} window.setTimeout('Nwa_SubmitForm(_form_name,"ID_'+_form_name+'_submit");', DELAY_IN_SECONDS * 1000); //--> {/literal}</script>
Hidden Form
{literal} <style> .nwaForm, #contentContainer { display: none; } </style> {/literal}