Creating an AUP page
Why create an AUP?
How to create an AUP
An AUP page will require several elements.
The Form brick
The Form brick must be added to the page so that users can confirm that they have accessed the page once. This is integral to the use of the IF Statement which controls the redirect.
The Form content itself is up to the user. You could have a series of questions or perhaps just a block of text and a submit button.
Please note that the Form needs to be configured to "Hide form once users have submitted it" and the Document on Submit field should be set to the user's homepage:
The IF Statement
An IF Variable Statement must be added to the page and configured to use the field form_submitted is equal to one:
This means that when a user hits the page the first time, the IF Variable brick detects that they have not submitted the form and shows the blank half of the statement.
Once the form has been submitted, users will be directed to the second half of the brick where the redirect brick will be placed.
The Redirect Brick
Insert a Frog Redirect brick into the top half of the IF Statement and double click it to edit it.
Set the "Redirect Page" field to the home page of the user and specify the Redirect Delay. We would advise a short delay time.
This page should now be ready to function. To make this page live, set it to be the 'page shown after login' for your preferred Login Profiles.
Who will this apply to?
The AUP page that you have created will only apply to the login profile that you've changed the 'page shown after login' for. If you want it to apply for multiple users, this gives you the flexibility to set up multiple AUPs that differ in content for different audiences.
Points to remember
You will need a different AUP form for each Login Profiles as the page you wish the users to be directed to will be different. Alternatively you could build some IF User Type bricks into your page to show specific forms for each Login Profile.
While testing the page, you may need to reset the form_submitted field for your user so you can see the form again. To do this, log into the Toolkit and select Reports > Form Database > Select your Form and delete your submitted results.