How to change the format of the Configurable List widget to month, and year only?

  • Steve Goodsell
    Asked on April 3, 2024 at 1:12 PM

    Is it possible to use a “DatePicker Year Month” widget within the Configurable list widget?

    Actually all I need is to be able to restrict date formatting to MM/YY on entry, within a field in a Configurable list.

  • Gian_D JotForm Support
    Replied on April 3, 2024 at 1:38 PM

    Hi Steve,

    Thanks for reaching out to Jotform Support. Although we don't have a format that only has month, and year in Configurable List widget, as a workaround, we can use Configurable List Date Field Type, and CSS customization to create a similar month, and year format on your Configurable List widget. Check out the screencast below:

    How to change the format of the Configurable List widget to month, and year only? Image 1 Screenshot 50

    As you can see, it's exactly the same as you mentioned. You can clone my demo form to make things easier, or you can apply it on your own. Let me show you how to do it:

    1. In Form Builder, click on Add Form Element on the left side of the page, and click on the Widgets tab.
    2. Drag, and drop Configurable List widget on your form.

    How to change the format of the Configurable List widget to month, and year only? Image 2 Screenshot 61

    3. Click on the Wand icon of your Configurable List widget, and paste the text below inside Fields Configuration:

    Date: date: m/d/y: 1970-2024: today
    

    How to change the format of the Configurable List widget to month, and year only? Image 3 Screenshot 724. Click on the Custom CSS tab, and paste the CSS code below:

    .d {display:none;}
    

    How to change the format of the Configurable List widget to month, and year only? Image 4 Screenshot 83

    That's it. Let us know if you have any other questions.

  • OasisAdm1n
    Replied on April 4, 2024 at 6:21 AM

    Hi Gian,

    this works perfectly! Thank you so much for your quick response

 
Your Answer