Output month numbers on Birthdate Picker

  • Profile Image
    celtsoc
    Asked 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?

    Pete

  • Profile Image
    EltonCris
    Answered 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. 

    Regards!