Using Safecraker member registration form via Profile:Edit addon. Working Fabulously except I am having an issue getting error messages to show up for base Member fields when using regular Member messages or error_handling=“inline”:
-email
-email_confirm
-password
-password_confirm
-accept_terms
The problem is I am getting blanks where the error message should be for the fields above, or at some point got a message for accept terms repeated 4 times. “{exp:profile:register}” works like “{exp:safecracker}” tag
Code taken from Member Module Templates:
{exp:profile:register error_handling="inline" return="site/index"}
<table class="tableBorder">
<tbody>
<tr>
<td class='tableCellTwo'>div class='defaultBold'><span class="highlight">*</span> {label:member_name}</div></td>
<td class='tableCellOne'>input type="text" name="member_name" id="member_name" value="{member_name}" maxlength="40" class="input" size="25" ></td>
<td class='tableCellThree'>div class='alert'>{if error:member_name}<span class="highlight">*</span> {error:member_name}{/if}</div></td>
</tr><tr>
<td class='tableCellTwo'>div class='defaultBold'><span class="highlight">*</span> Email</div></td>
<td class='tableCellOne'>input type="text" name="email" value="{email}" maxlength="40" class="input" size="25" ></td>
<td class='tableCellThree'>div class='alert'>{field_errors}<span class="highlight">*</span> {error:email}{/field_errors}</div></td>
</tr><tr>
<td class='tableCellTwo'>div class='defaultBold'><span class="highlight">*</span> Confirm Email</div></td>
<td class='tableCellOne'>input type="text" name="email_confirm" value="{email_confirm}" maxlength="40" class="input" size="25" ></td>
<td class='tableCellThree'>div class='alert'>{field_errors}<span class="highlight">*</span> {error:email_confirm}{/field_errors}</div></td>
</tr><tr>
<td class='tableCellTwo'>div class='defaultBold'><span class="highlight">*</span> Password</div><div class='default'>Passwords must be at least 5 characters long, contain at least 1 uppercase, 1 lowercase, and 1 number</div></td>
<td class='tableCellOne'>input type="password" name="password" value="" maxlength="40" class="input" size="25" ></td>
<td class='tableCellThree'>div class='alert'>{field_errors}<span class="highlight">*</span> {error:password}{/field_errors}</div></td>
</tr><tr>
<td class='tableCellTwo'>div class='defaultBold'><span class="highlight">*</span> Confirm Password</div></td>
<td class='tableCellOne'>input type="password" name="password_confirm" value="" maxlength="40" class="input" size="25" ></td>
<td class='tableCellThree'>div class='alert'>{field_errors}<span class="highlight">*</span> {error:password_confirm}{/field_errors}</div></td>
</tr><tr>
<td colspan='2' class='tableCellOne'>
<input type='checkbox' name='accept_terms' value='y' /> <span class="alert">I agree to the <a href="http://{path=company/terms_of_service}"> Terms of Service</a></span>
<input type="submit" value="Register" class="submit" /></p>
<span class="highlight">*</span> Indicates required fields
</td>
<td class='tableCellThree'>div class='alert'>{field_errors}<span class="highlight">*</span> {error:accept_terms}{/field_errors}</div></td>
</tr>
</tbody>
</table>
{/exp:profile:register}Tried both the “{field_errors}{error:field_name}{/field_errors}” shown above as well as “{if error:field_name}{error:field_name}{/if}” syntax with same results
Muchos Nachos:)