Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Confusing bug


sanctuarybookshop

Recommended Posts

Posted

I know it is something that I've changed and it's only come to light when creating a new account to test transactions on my store.

 

When at the section to enter the date of birth and the calendar pops up to select the date, once the date is selected, the text box associated with it displays :-

 

JQUERY_WedATEPICKER_FORJulAT

 

I'm suspecting that it might be a problem in the create_account.php file due to the following line :-

 

<td class="fieldValue"><?php echo tep_draw_input_field('dob', '', 'id="dob"') . ' ' . (tep_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '<span class="inputRequirement">' . ENTRY_DATE_OF_BIRTH_TEXT . '</span>': ''); ?><script type="text/javascript">$('#dob').datepicker({dateFormat: '<?php echo JQUERY_DATEPICKER_FORMAT; ?>', changeMonth: true, changeYear: true, yearRange: '-100:+0'});</script></td>

 

Could be possible that JQUERY_DATEPICKER_FORMAT has not been defined in english.php?

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...