EE3 - I accidentally deleted some of the registration form code while trying to get rid of the “personal website” field.
Now there is some html showing in the “terms’ section and no submit button.
Can anyone please help me reinstate the correct code and tell me how to correctly remove the “personal website” field.
This is what I currently have in the template:
<table class="tableBorder" border='0' cellspacing='0' cellpadding='0' >
<tr>
<td class='profileHeadingBG' colspan='2'><div class="tableHeading">{lang:member_registration}</div></td>
</tr><tr>
<td class='tableCellTwo' ><div class='defaultBold'><span class="highlight">*</span> {lang:username}</div><div class='itempad'>{lang:username_length}</div></td>
<td class='tableCellOne' ><input type="text" name="username" value="" maxlength="50" class="input" size="25" /></td>
</tr><tr>
<td class='tableCellTwo' ><div class='defaultBold'><span class="highlight">*</span> {lang:password}</div><div class='itempad'>{lang:password_length}</div></td>
<td class='tableCellOne' ><input type="password" name="password" value="" maxlength="{password_max_length}" class="input" size="25" autocomplete='off' /></td>
</tr><tr>
<td class='tableCellTwo' ><div class='defaultBold'><span class="highlight">*</span> {lang:password_confirm}</div></td>
<td class='tableCellOne' ><input type="password" name="password_confirm" value="" maxlength="{password_max_length}" class="input" size="25" autocomplete='off' /></td>
</tr><tr>
<td class='tableCellTwo' >
<div class='defaultBold'><span class="highlight">*</span> {lang:screen_name}</div>
<div class='itempad'>{lang:screen_name_explanation}</div>
</td>
<td class='tableCellOne' ><input type="text" name="screen_name" value="" maxlength="50" class="input" size="25" /></td>
</tr><tr>
<td class='tableCellTwo' ><div class='defaultBold'><span class="highlight">*</span> {lang:email}</div></td>
<td class='tableCellOne' ><input type="text" name="email" value="" maxlength="72" class="input" size="40" /></td>
</tr><tr>
<td class='tableCellTwo' ><div class='defaultBold'><span class="highlight">*</span> {lang:email_confirm}</div></td>
<td class='tableCellOne' ><input type="text" name="email_confirm" value="" maxlength="72" class="input" size="40" /></td>
</tr><tr>
<td class='tableCellTwo' ><div class='defaultBold'>{lang:url}</div></td>
<td class='tableCellOne' ><input type="text" name="url" value="" maxlength="150" class="input" size="25" /></td>
{custom_fields}
</tr><tr>
<td class='tableCellTwo' >
<div class='defaultBold'>{required}<span class="highlight">*</span>{/required} {field_name}</div>
{if field_description}
<div class='default'>{field_description}</div>
{/if}
</td>
<td class='tableCellOne' >{field}</td>
{/custom_fields}
</tr><tr>
<td colspan='2' class='tableCellOne'>
<div class="itempadbig">
<div class="itempad"><div class='defaultBold'>{lang:terms_of_service}</div></div>
<textarea name='rules' class='textarea' rows='8' cols='90' readonly>
All messages posted at this site express the views of the author, and do not necessarily reflect the views of the owners and administrators of this site.
By registering at this site you agree not to post any messages that are obscene, vulgar, slanderous, hateful, threatening, or that violate any laws. We will permanently ban all users who do so.
We reserve the right to remove, edit, or move any messages for any reason.
Thanks!
Here’s a registration template without the url field. You should be able to recover the original template from your EE download it’s in themes/ee/member/default
<table class="tableBorder" border='0' cellspacing='0' cellpadding='0' >
<tr>
<td class='profileHeadingBG' colspan='2'><div class="tableHeading">{lang:member_registration}</div></td>
</tr><tr>
<td class='tableCellTwo' ><div class='defaultBold'><span class="highlight">*</span> {lang:username}</div><div class='itempad'>{lang:username_length}</div></td>
<td class='tableCellOne' ><input type="text" name="username" value="" maxlength="50" class="input" size="25" /></td>
</tr><tr>
<td class='tableCellTwo' ><div class='defaultBold'><span class="highlight">*</span> {lang:password}</div><div class='itempad'>{lang:password_length}</div></td>
<td class='tableCellOne' ><input type="password" name="password" value="" maxlength="{password_max_length}" class="input" size="25" autocomplete='off' /></td>
</tr><tr>
<td class='tableCellTwo' ><div class='defaultBold'><span class="highlight">*</span> {lang:password_confirm}</div></td>
<td class='tableCellOne' ><input type="password" name="password_confirm" value="" maxlength="{password_max_length}" class="input" size="25" autocomplete='off' /></td>
</tr><tr>
<td class='tableCellTwo' >
<div class='defaultBold'><span class="highlight">*</span> {lang:screen_name}</div>
<div class='itempad'>{lang:screen_name_explanation}</div>
</td>
<td class='tableCellOne' ><input type="text" name="screen_name" value="" maxlength="50" class="input" size="25" /></td>
</tr><tr>
<td class='tableCellTwo' ><div class='defaultBold'><span class="highlight">*</span> {lang:email}</div></td>
<td class='tableCellOne' ><input type="text" name="email" value="" maxlength="72" class="input" size="40" /></td>
</tr><tr>
<td class='tableCellTwo' ><div class='defaultBold'><span class="highlight">*</span> {lang:email_confirm}</div></td>
<td class='tableCellOne' ><input type="text" name="email_confirm" value="" maxlength="72" class="input" size="40" /></td>
</tr><tr>
<!--<td class='tableCellTwo' ><div class='defaultBold'>{lang:url}</div></td>
<td class='tableCellOne' ><input type="text" name="url" value="" maxlength="150" class="input" size="25" /></td>-->
{custom_fields}
</tr><tr>
<td class='tableCellTwo' >
<div class='defaultBold'>{required}<span class="highlight">*</span>{/required} {field_name}</div>
{if field_description}
<div class='default'>{field_description}</div>
{/if}
</td>
<td class='tableCellOne' >{field}</td>
{/custom_fields}
</tr><tr>
<td colspan='2' class='tableCellOne'>
<div class="itempadbig">
<div class="itempad"><div class='defaultBold'>{lang:terms_of_service}</div></div>
<textarea name='rules' class='textarea' rows='8' cols='90' readonly>
All messages posted at this site express the views of the author, and do not necessarily reflect the views of the owners and administrators of this site.
By registering at this site you agree not to post any messages that are obscene, vulgar, slanderous, hateful, threatening, or that violate any laws. We will permanently ban all users who do so.
We reserve the right to remove, edit, or move any messages for any reason.
</textarea>
</div>
</td>
</tr><tr>
<td colspan='2' class='tableCellOne'>
{if captcha}
<span class="highlight">*</span> {lang:captcha}
{captcha}
<input type="text" name="captcha" value="" size="20" maxlength="20" />
{/if}
<input type='checkbox' name='accept_terms' value='y' /> <span class="alert">{lang:terms_accepted}</span>
<input type="submit" value="{lang:submit}" class="submit" /></p>
<span class="highlight">*</span> {lang:required_fields}
</td>
</tr>
</table>
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.