I want to add customer DOB
field in billing address on checkout page, for this I have added below code :
<div class="field">
<label for="billing:dob" class="required"><em>*</em><?php echo $this->__('Date Of Birth') ?></label>
<div class="input-box">
<input type="test" name="billing[dob]" id="billing:dob" value="<?php echo $this->escapeHtml($this->getAddress()->getDob()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Date Of Birth')) ?>" class="date-pick input-text validate-date required-entry" data-date-format="dd-mm-yyyy" />
</div>
</div>
On place order billing address saved in customer but not DOB
.
Am I doing something wrong? Is there any other way to do so?
DOB
is customer attribute and I want to save it with customer on order place.