Trying to make a date format to yymmdd

  • moyasafarivilla
    Asked on April 20, 2024 at 4:35 AM

    Hi trying to format a date to yymmdd no separators. Is this possible in the date picker??

  • Waqas JotForm Support
    Replied on April 20, 2024 at 5:12 AM

    Hi Mike,

    Thanks for reaching out to Jotform Support. Unfortunately, it is not possible to remove separator from date picker field. As a workaround, you can use the substring widget to do so. Let me walk you through it:

    • In Form Builder, click on the Add Form Element menu on the left side of the page.
    • Under the Widgets tab, search for the Substring widget and add it to your form.

    Trying to make a date format to yymmdd Image 1 Screenshot 70

    • In the Widget Settings window that opens up, copy the year field ID, month, and date.

    Trying to make a date format to yymmdd Image 2 Screenshot 81

    Trying to make a date format to yymmdd Image 3 Screenshot 92

    Now, let's set up the conditions:

    1. In Form Builder, in the orange navigation bar at the top of the page, click on Settings.
    2. Click on Conditions on the left of the page.
    3. Now, click on Add a New Condition and then click on Update/Calculated Field.

    Trying to make a date format to yymmdd Image 4 Screenshot 103

    Trying to make a date format to yymmdd Image 5 Screenshot 114

    Check out my screencast below for the results:

    Trying to make a date format to yymmdd Image 6 Screenshot 125

    You can check out my clone form and you can clone it as well.

    Let us know if there's anything else we can help you with.

 
Your Answer