Knowledgebase: HotSpot
How to add Terms of Use to Login page ?

You can easy add Terms of use checkbox to Login page and to use it Default page group:

1. Go to Setup - Pages - Customize screen
2. Select default group of pages.
3. Click "Login" page in the menu on left side.
4. Replace the following line in code:

<div class="form1" align="center"><input class="button" value="#LOGIN#" name="Login" id="login" type="submit" %DISABLED% /></div>

5. with following code:

<div class="form1" align="center"><input class="button" value="#LOGIN#" name="Login" type="submit" disabled="disabled" ></div>
<div class="separator"></div>
<div class="text">
<input  type="checkbox" onclick="this.form.Login.disabled = !this.checked;this.form.onsubmit = 'return ' + this.checked;">I have read and accept the <a href="%PROTOCOL%%SERVERIP%/terms">terms of use</a></div>

6. Save change.


Comments (0)
Antamedia Support Center