KickApps: Add login box for external page

/ Published in: HTML
Save to your folder(s)

This code can be used for making an external login area on pages other than KickApps powered pages. Please replace ##### with your AS ID. Also, if you've DNS masked you're site, you'll need to replace with your domain info.

Copy this code and paste it in your HTML
  1. <form id="UserLogin" onsubmit="return ka_check_userLogin(this.form);" enctype="application/x-www-form-urlencoded" action="" method="post" name="UserLogin" target="">
  2. <input id="as" type="hidden" name="as" value="#####"/>
  3. <input type="hidden" value="" name="redirectURL" id="redirectURL" />
  4. <label for="UserBoxUserName">Username</label>
  5. <input id="UserBoxUserName" class="textbox" type="text" name="username"/>
  7. <label for="UserBoxPassword">Password</label>
  8. <input id="UserBoxPassword" class="textbox" type="password" name="password" onkeydown="var key = event.which || event.keyCode; if (key == 13) { submit()}"/>
  10. <input class="ka_button" type="submit" value="Sign in" name="Login"/>
  12. </form>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.