• 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: How to - Multiple Select Boxes for Birth Date.

How to - Multiple Select Boxes for Birth Date. 15 years 7 months ago #3882

  • jorge05r
  • jorge05r's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
How could I have multiple select/drop down boxes for a Birthday Date on the same field.
Something like this...

Birthday: [Months] [Days] [Years] will drop down with a list of all months, years and days.

Something you have probably seen on web forms.
I searched through the forum for an answer but couldn't find it. I would appreciate some help, thanks! :side:
The administrator has disabled public write access.

Re:How to - Multiple Select Boxes for Birth Date. 15 years 7 months ago #3886

  • richiep
  • richiep's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 131
I don't think you can do this on the same field. I think you'll need to create three unique fields.

No big deal though as RSForm makes it easy.

Good Luck
Richiep
The administrator has disabled public write access.

Re:How to - Multiple Select Boxes for Birth Date. 15 years 7 months ago #3900

Hi,

I have the same problem, RS joomla any solution?
The administrator has disabled public write access.

Re:How to - Multiple Select Boxes for Birth Date. 15 years 7 months ago #3907

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

You will find here a solution:

www.rsjoomla.com/index.php/RSform-FAQs/
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:How to - Multiple Select Boxes for Birth Date. 15 years 5 months ago #4924

How does this work with RSForm Pro? Unless I am overlooking something, there isn't the \"field style\" option anymore.

Thanks,

Jim
The administrator has disabled public write access.

Re:How to - Multiple Select Boxes for Birth Date. 15 years 4 months ago #5616

I just purchased FormPro and would like to implement this as well. Would be nice to know how as the directions I can't find select box?
The administrator has disabled public write access.

Re:How to - Multiple Select Boxes for Birth Date. 15 years 4 months ago #5653

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
Hello,

What you need to do is setup 3 dropdowns (I named them months, days and years)

Now, go to the Form Layout tab, disable autogeneration so that you can edit the text and you'll see something like this
...
	<tr>
		<td>{months:caption} (*)</td>
		<td>{months:body}<div class=\"clr\"/>{months:validation}</td>
		<td>{months:description}</td>
	</tr>
	<tr>
		<td>{days:caption}</td>
		<td>{days:body}<div class=\"clr\"/>{days:validation}</td>
		<td>{days:description}</td>
	</tr>
	<tr>
		<td>{years:caption}</td>
		<td>{years:body}<div class=\"clr\"/>{years:validation}</td>
		<td>{years:description}</td>
	</tr>
...

This means that there are 3 table rows (tr) for each field (3 fields, 1 field per row). But you only need one table row that will contain all of the fields. Change the HTML code so that it says:
...
	<tr>
		<td>Date of birth:</td>
		<td>{months:body} {days:body} {years:body}<div class=\"clr\"/>{months:validation} {days:validation} {years:validation}</td>
		<td></td>
	</tr>
...

The dots i've used mean that there could be other HTML code around the specific area that i'm talking about. Do not add them!
From here, you can use the {months:value}, {days:value} and {years:value} placeholders in emails to get the desired information.
For a better understanding of how tables work, I suggest you should read this tutorial.
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:How to - Multiple Select Boxes for Birth Date. 11 years 3 months ago #20701

  • info7299
  • info7299's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I tried...I have no idea how to do, please can you just the put code for us newbie?

Come on i see that people ask money for this and is incredible, because in most form we need a birth date, is a "must" like the country or the mail.
PS: if I now how to do this i dont buy a component I do for myself. B)
Thank you
Last Edit: 11 years 3 months ago by info7299.
The administrator has disabled public write access.

Re:How to - Multiple Select Boxes for Birth Date. 11 years 2 months ago #20830

I'm amazed this is still an issue after is was asked about 4 years ago!

A better feature would be the ability to define a custom 'form field' which could be a combination of different form fields - i.e. 3 dropdowns for DOB, or a textbox and a dropdown for something else etc.

That way everyone is catered to.
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!