If you don't want them to EDIT their DOB after they register, you'll need to edit the following file:
includes/templates/YOUR_TEMPLATE/templates/tpl_account_edit_default.php
Find and remove this piece of code:
Code:
<?php
if (ACCOUNT_DOB == 'true') {
?>
<label class="inputLabel" for="dob"><?php echo ENTRY_DATE_OF_BIRTH; ?></label>
<?php echo zen_draw_input_field('dob', zen_date_short($account->fields['customers_dob']), 'id="dob"') . (zen_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '<span class="alert">' . ENTRY_DATE_OF_BIRTH_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<?php
}
?>
If that file doesn't exist in YOUR_TEMPLATE folder, copy it from template_default and upload to your template's directory. It's always better to use overrides.
Bookmarks