• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Custom registration field Birthday

Custom registration field Birthday 13 years 1 month ago #12817

I'd like for registrees to enter their birthday through three select dropdown boxes (day, month, year). How would I go about doing such a thing with rsMembership?
For now I'll just do a textbox and somehow validate it correctly.
The administrator has disabled public write access.

Re:Custom registration field Birthday 13 years 1 month ago #12839

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Hello,

You can simply add some custom fields to the RSMembership! registration form: Components > RSMembership! > Custom fields

Note that these will be applied to all memberships.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re:Custom registration field Birthday 13 years 1 month ago #12852

I'm having a hard time figuring out exactly what the "Values" field expect from me. I've tried this code:
<select name="dag">
//<code>
for ($ii = 0; $ii<=31; $ii++){
echo '<option value="'.$ii.'">'.$ii.'</option>';
}
//</code>
</select>
<select name="måned">
<option value="01">Jan</option>
<option value="02">Feb</option>
<option value="03">Mar</option>
<option value="04">Apr</option>
<option value="05">Mai</option>
<option value="06">Jun</option>
<option value="07">Jul</option>
<option value="08">Aug</option>
<option value="09">Sep</option>
<option value="10">Okt</option>
<option value="11">Nov</option>
<option value="12">Des>/option>
</select>
<select name="år">
//<code>
for ($ii = 0; $ii<=125; $ii++){
echo '<option value="'.(1900 + $ii).'">'.(1900 + $ii).'</option>';
}
//</code>
</select>
It's obviously not what the values field wanted.
The administrator has disabled public write access.

Re:Custom registration field Birthday 13 years 3 weeks ago #12938

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
You can try this instead:
//<code>
$tmp = '';
for ($ii = 0; $ii<=31; $ii++)
     $tmp .=$ii."\\n";
return $tmp;
}
//</code>
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
Last Edit: 13 years 3 weeks ago by alexp.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!