I have an answer from the administrator of this forum atnel.... he bought this solution and does not know how it works.
That is a 3.0 forum which would explain why the email verification is there.AmigoJack wrote: Tue Aug 22, 2017 7:04 am How times change - back with 3.0 and before the registration always had a email address confirmation textbox, and some people ranted about how antiquated that concept was.
So, I got this to work except for tabindex (couldn't get the js to work). I tried setting tabindex to 3 but the registration screen still tabs to the confirm e-mail on tabindex 2. Any thoughts?
JS just gives you everything to create and reorder HTML elements, so I have no clue where your problem is to just add another DL with its DD and DT. However, since JS alone cannot add a localized caption of all installed board languages I won't even think about approaching it that way.
Code: Select all
$(function() {
var $form = $('#register');
var new_dt = $('<dt><label for="email_confirm">'+ emailConfirmData.lConfirmEmail + '</label></dt><dd><input type="email" name="email_confirm" id="email_confirm" size="25" maxlength="100" value="' + emailConfirmData.confirmEmail + '" class="inputbox autowidth" title="' + emailConfirmData.lConfirmEmail + '" autocomplete="off" /></dd>');
$form.find('input[type=email][id=email]').parents('dd').after(new_dt);
});
Code: Select all
<script type="text/javascript">
var emailConfirmData = {
lConfirmEmail: '{LA_CONFIRM_EMAIL_ADDRESS}',//adds your lang variable to jquery
confirmEmail: '{CONFIRM_EMAIL_ADDRESS}',//adds your template variable to jquery
};
</script>
Code: Select all
'CONFIRM_EMAIL_ADDRESS' => 'Email Address Confirm:',
Code: Select all
'CONFIRM_EMAIL_ADDRESS' => $data['confirm_email_address'],
Eventually, looking into other options as well.
Code: Select all
if ($submit && !sizeof($error))
Code: Select all
if ($submit)