Skip to content

Instantly share code, notes, and snippets.

@MiguelDebruyne
Created June 2, 2014 10:19
Show Gist options
  • Save MiguelDebruyne/a463430b35517bd9365c to your computer and use it in GitHub Desktop.
Save MiguelDebruyne/a463430b35517bd9365c to your computer and use it in GitHub Desktop.
HTML: Form
<form method="post" id="registerForm" action="index.php?page=user&amp;action=register">
<fieldset>
<div>
<label for="username"><span class="boldOnly">U</span>sername</label>
<input type="text" name="register[username]" id="username" accesskey="u" tabindex="1"/>
<div class="errorMessageCon">
<p class="errorMessage">&nbsp;</p>
</div>
<label for="email"><span class="boldOnly">E</span>-mail</label>
<input type="text" name="register[email]" id="email" accesskey="e" tabindex="2"/>
<div class="errorMessageCon">
<p class="errorMessage">&nbsp;</p>
</div>
<label for="emailConfirm"><span class="boldOnly">C</span>onfirm E-mail</label>
<input type="text" name="register[emailConfirm]" id="emailConfirm" accesskey="c" tabindex="3"/>
<div class="errorMessageCon">
<p class="errorMessage">&nbsp;</p>
</div>
<label for="password"><span class="boldOnly">P</span>assword</label>
<input type="password" name="register[password]" id="password" accesskey="p" tabindex="4"/>
<div class="errorMessageCon">
<p class="errorMessage">&nbsp;</p>
</div>
<label for="selectLocation">Sort by</label>
<select name="sortBy" id="sortBy">
<option value="sortby" selected="selected">-- Sorteerkeuze --</option>
<option value="artist_a-z">Artiest (A-Z)</option>
<option value="artist_z-a"> Artiest (Z-A)</option>
<option value="album_a-z">Album (A-Z)</option>
<option value="album_z-a">Album (Z-A)</option>
<option value="label_a-z">Label (A-Z)</option>
<option value="label_z-a">Label (Z-A)</option>
</select>
<input type="submit" name="register[btnRegister]" id="btnRegister" value="Register"/>
</div>
</fieldset>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment