Forums

Date Of Birth - combining 2 drop downs and a text box

aforantman 25 Apr, 2010
Hi all,

Okay, sorry for the bombardment of questions.

I have another question. I use a third party company sometimes that manages user databases.
They need to have the date formatted like dd-mm-yyyy rather than dd/mm/yyyy

Leaving this as a text box for users often gets the incorrect symbols put in (even when you ask them not to).
On the forms that they create they use a a dropdown for dd then a second dropdown for mm and then a text box for yyyy.
They have a hidden filed called "dob" that somehow brings these different elements together into the one table cell in the data base.

here is the webpage example:
http://www.myguestlist.com.au/mgl/ccp/eden/vipmember.html

With my limited knowledge I cant seem to work out how to make this happen on my form.
also they use tables in their forms and I am using divs. (i believe?)

I would like to know how to get these three different form elements to get entered into the one table in the database.

Any help would be appreciated.
If you know how the code should look that would be a great help.

thanks again,

anthony...
GreyHead 25 Apr, 2010
Hi aforantman,

You can change the format that the ChronoForms calendar uses near the bottom of the General tab. Replace d/m/Y with d-m-Y

You can also do it with the three inputs and join them up afterwars but it's a lot more work.

Bob
This topic is locked and no more replies can be posted.