Announcement

Collapse
No announcement yet.

Login Form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Login Form

    Hello,

    I'm having a problem with a login form, The site we are building is a 3 coloumn (Nav, Content, Sidebar).

    I have added the 'loginlayout' Variable into the Sidebar but when I Publish the site, I can enter the information, but when I click 'Login' It does nothing.

    I ran an error check on the form and I receive this error -

    A javaScript error has been found on the page ('Object required').(2 Places)

    Here is the LoginLayout Variable for reference -

    Code:
    <input type="hidden" name="ACTINIC_REFERRER" value="http://print41.com/acatalog">
    <table width="180" border="0" align="center">
       <tr>
          <td align="center">
             <input type="text" name="USER" size="20" maxlength="60" value="Username"/>
          </td>
       </tr>
       <tr>
          <td align="center"> 
             <input type="password" name="PASS" size="20" maxlength="60" value="Password"/>
          </td>
       </tr>
       <tr>
          <td colspan="2" align="center">
             <input type="submit" name="ACTION" value="<Actinic:Variable Name="Login"/>" onclick="SubmitLogin(this.form.name);" />
             <input type="hidden" name="HASH" value="" />
          </td>
       </tr>
    </table>
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsSSLUsedForWholeSite%22%20%2f%3e" />
       <input type="hidden" name="SSLBOUNCE" value="1" />
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsSSLNotUsed%22%20%2f%3e">
       <input type="hidden" name="SSLBOUNCE" value="" />
    </actinic:block>
    
    <script language="javascript" type="text/javascript">
    <!--
    for (nIndex = 0; nIndex < document.forms.length; nIndex++)
    	{
    	if (document.forms[nIndex] && document.forms[nIndex].USER)
    		{
    		document.forms[nIndex].USER.focus();
    		}
    	}
    // -->
    </script>
    
    <input type="hidden" name="challenge" value="<Actinic:Variable Name="Challenge"/>" />
    <input type="hidden" name="challengeout" value="" />
    I've done a search for the last hour, but haven't been able to find anything/

    Any help is much appricaited!

    #2
    I am actually interested in this one too
    Steve Indigo

    Indigo Herbs of Glastonbury

    Indigo Herbs Blog

    Comment

    Working...
    X