Re: Extending the registration
Hi wanis,
i have got the same problem: want to extend registration form with a must-have-field 'confirm age'.
Database-field is already set up (named OXCHECKAGE), template is extended with an lableled checkbox and in admin-area oxuser__oxcheckage was defined as must-have. I cleaned up the tmp-folder and oxidshop tells me to fill out all must-have-fields - which is absolutely correct and fine.
BUT: oxid does not recognize the new checkbox-field in the registration-form and because of that, I can't send any registration due to missing must-have-fields (error-message).
How do I setup a checkbox-field defined as must-have in the template? any idea?
currently it looks like this:
Code:
<input type="checkbox" name="invadr[oxuser__oxcheckage]" value="[{if $oxcmp_user->oxuser__oxcheckage->value }]1[{else}]0[{/if}]" [{if $oxcmp_user->oxuser__oxcheckage->value }]checked[{/if}]>
<b>...some text...</b><span class="req">*</span>
Thanks for any hint!
|