Creating an AUP page

From Frog Knowledge Base
Jump to: navigation, search

AUP

Why create an AUP?

An AUP page can have a multitude of uses. An AUP page allows users to see a page shown after login once when they first log in, and not have to see the page on subsequent logins. This page could be used to get users to agree to a Terms of Use policy or perhaps to change their password using the password management brick (provided they are not using Active Directory Authentication).


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:


File on centre


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:


File on centre


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.


File on centre


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.