Date field with just MONTH and YEAR

  • dleblanc
    Asked on May 7, 2015 at 10:28 AM

    I need to put a expiry date field with just the MONTH and YEAR (just like a credit card expiry date).  How can I remove the DAY portion?

  • Ecem JotForm Designer
    Replied on May 7, 2015 at 10:39 AM

    Hello,

    You can hide day field from date field with adding CSS code to the Configurable List widget.

    .d, .calendarIcon {

    display: none;
    }

    Date field with just MONTH and YEAR Image 1 Screenshot 20

    I hope it helps.

    Kindly Regards.

    Ecem

  • dleblanc
    Replied on May 7, 2015 at 10:47 AM

    Thanks Ecem!  I'm not a coder, so have never done this before.  Is that the simplest way?  I was hoping for a widget or a simple change in Properties.  Where do I access the Configurable List Settings? 

  • Ecem JotForm Designer
    Replied on May 7, 2015 at 11:06 AM

    Hi again,

    You don't have to be a coder it is the best way of JotForm. You can find Configurable List widget from widgets and add CSS code to it.

    Date field with just MONTH and YEAR Image 1 Screenshot 50

     

    Press wizard icon and add CSS here;

    Date field with just MONTH and YEAR Image 2 Screenshot 61

    And please don't forget erase the things you don't need in the widget;

    Date field with just MONTH and YEAR Image 3 Screenshot 72

    And finally you will have the look you want;

    Date field with just MONTH and YEAR Image 4 Screenshot 83

    I hope it helps.

    Ecem