Security

Reply
Occasional Contributor II
Posts: 14
Registered: ‎09-16-2013

Have different receipt/webpage displayed depending on guest self-registration answer

I am creating a self registration guest Clearpass access for a group of companies. I have created the registration page so that there is a drop down menu listing the companies. How do I make it so that depending on the answer the guest provides that the receipt/webpage shown after has the correct branding? Is this best done through advertising or am I missing something? Haven't used Clearpass for quite a while so any help would be appreciated.
Aruba Employee
Posts: 102
Registered: ‎03-15-2011

Re: Have different receipt/webpage displayed depending on guest self-registration answer

If by branding you mean skin that will prove difficult.  The best solution to that is to have a self-reg for each company with the right skin, and then create a 'Page' with your selection and a little JavaScript onchange to take you where you want.

 

If you do not need skins there are a couple things.

 

If you simply had fields you wanted to hide or show based on answers you edit the field and under Advanced > Visible-If put an expression like "some_field.value == 'acme'".

 

Within the Footer HTML or Header HTML you have the values at your disposal as:

 

{if $some_field == 'acme'}
<img src="public/acme.png">
{elseif $some_field == 'aruba'}
<img src="public/aruba.png">
{else}
<img src="public/default.png">
{/if}

 

You could put any HTML in those blocks including a CSS style block.  The guest guide has tips on how to write in these boxes as the scripting language needs careful consideration of '{' and '}' in CSS and JS.

 

Search Airheads
Showing results for 
Search instead for 
Did you mean: