2010-01-05, 11:29 PM
I would like to know how you get the text in the form box before you've even clicked it, heres my current coding:
<form action="member.php" method="post">
<input type="text" class="textbox" name="username" size="16" maxlength="{$mybb->settings['maxnamelength']}"/>
<input type="password" class="textbox" name="password" size="16"/>
<td><input type="submit" class="button" name="submit" value="{$lang->login}" /></td>
<input type="hidden" name="action" value="do_login" />
<input type="hidden" name="url" value="{$redirect_url}" />
</form>