Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: JayBachatero - maaliskuu 09, 2005, 12:46:31 AP

Otsikko: Custom registration
Kirjoitti: JayBachatero - maaliskuu 09, 2005, 12:46:31 AP
I read the tutorial on cutom registration.  and i was able to add the gender selection.  now when i went to add the age fileds in the registration page it shows up fine but when i try to register i get "You are not allowed to access this section "
this is the code im using
<td class="smalltext">
<input type="text" name="bday3" size="4" maxlength="4" value="', $context['member']['birth_date']['year'], '" /> -
<input type="text" name="bday1" size="2" maxlength="2" value="', $context['member']['birth_date']['month'], '" /> -
<input type="text" name="bday2" size="2" maxlength="2" value="', $context['member']['birth_date']['day'], '" />
</td>

i tried also

<input type="text" name="bday3" size="4" maxlength="4" value="0000" /> -
<input type="text" name="bday1" size="2" maxlength="2" value="MM" /> -
<input type="text" name="bday2" size="2" maxlength="2" value="DD" />
Otsikko: Re: Custom registration
Kirjoitti: [Unknown] - maaliskuu 09, 2005, 03:20:37 AP
Remember, you can't register twice in a row from that screen without closing all your browser windows.

-[Unknown]
Otsikko: Re: Custom registration
Kirjoitti: JayBachatero - maaliskuu 09, 2005, 01:33:42 IP
thank [Unknown] it was working afterwards.  I closed all my windows and tried it again and it was working.