Hi,
I have the following construction:
<p><label for="username_1" class="top">User:</label><br />
<input type="text" name="username_1" id="username_1" tabindex="1" class="field" onkeypress="return webLoginEnter(document.loginfrm.password);" value="" /></p>
<p><label for="password_1" class="top">Password:</label><br />
<input type="password" name="password_1" id="password_1" tabindex="2" class="field" onkeypress="return webLoginEnter(document.loginfrm.cmdweblogin);" value="" /></p>
<p><input type="checkbox" name="checkbox_1" id="checkbox_1" class="checkbox" tabindex="3" size="1" value="" onclick="webLoginCheckRemember()" /><label for="checkbox_1" class="right">Remember me</label></p>
<p><input type="submit" name="cmdweblogin" class="button" value="LOGIN" /></p>
This from a template I am using and modifying.
I don't understand the following
onkeypress="return webLoginEnter(document.loginfrm.password);"
which is repeated on each input.
I have sent the question to the designer but have not gotten any response yet.