What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Output month numbers on Birthdate Picker

    Asked by celtsoc on December 08, 2015 at 05:45 PM

    I have a date on my form (the one with dropdown menus for month, day, and year) and a custom thank you page where I get hold of the data via the $_POST variable.  The month part of the date is coming in as a month name, eg "January", but I need it as a month number.  I could convert it in my script of course but is there wa way to habve JotForm send me a month number?


  • Profile Image
    JotForm Support

    Answered by EltonCris on December 08, 2015 at 09:08 PM

    I presume you were using a birthdate picker widget which obviously has text options in months and there's no option to change its value in the form builder as of its current version. I suggest using the Date/Time field instead. This outputs numbers on dates. I believe you're already using this tool as of checking your form. :)

    Do let us know should you have further questions.