Confirm Email box for Simple Registration

  • Posts: 49
  • Thank you received: 0
13 years 5 months ago #2257

Is there anyway to make a confirm email box and make a validation for it?

Please Log in or Create an account to join the conversation.

  • Posts: 81597
  • Thank you received: 13081
  • MODERATOR
13 years 5 months ago #2264

I don't understand what you mean. Could you elaborate ?

Please Log in or Create an account to join the conversation.

  • Posts: 49
  • Thank you received: 0
13 years 5 months ago #2301

On some sites you have two places to put in your email address. The Confirm email address field compares itself to the other Email field to make sure you typed in the correct one just incase you missed a letter.

Please Log in or Create an account to join the conversation.

  • Posts: 81597
  • Thank you received: 13081
  • MODERATOR
13 years 5 months ago #2303

You can edit the file login_register via the Display->Views menu and add the code

<tr>
	<td class="key">
		<label id="confirm_emailmsg" for="confirm_register_email">Confirm E-mail:</label>
	</td>
	<td>
		<input type="text" id="confirm_register_email" name="data[confirm][email]" value="" class="inputbox required validate-email" maxlength="100" onchange="email = document.getElementById('register_email'); if(this.value!=email.value){ alert('The confirmation email is different from the email'); this.value= ''; }" /> *
	</td>
</tr>
below the email field.

Please Log in or Create an account to join the conversation.

  • Posts: 49
  • Thank you received: 0
13 years 5 months ago #2305

Thanks for this. My client will be very happy.

We are using the simple registration where the email is singular on top of the full registration. Which file would I edit for that?

Please Log in or Create an account to join the conversation.

  • Posts: 81597
  • Thank you received: 13081
  • MODERATOR
13 years 5 months ago #2306

You can edit the file login_register via the Display->Views menu

Please Log in or Create an account to join the conversation.

  • Posts: 49
  • Thank you received: 0
13 years 5 months ago #2308

Sorry, I put it in the wrong place. Now it shows up. Thanks again.

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum