How to force a certain date format?

  • menstrom
    Asked on February 6, 2017 at 9:25 AM

    We ask students for their birthdate, and it is displayed on the form as MM/DD/YYYY format.  I even have "4-digit Year", below the year box.  But, surprisingly, some students don't read.  So they are entering a two-digit year instead of a four-digit year, and that messes up our dataload.  I am using the Quick Field date, which apparently will accept the two-digit year in the year field.  Is there a way to force the four-digit year (i.e., have an edit check that won't accept a two-digit year) using the Quick Field date?

    Thanks,

    Marilyn

  • Nik_C
    Replied on February 6, 2017 at 9:42 AM

    Are you using Date field in this way:

    How to force a certain date format? Image 1 Screenshot 40

    I understand that even after the pop-up, you will be able to enter two digit year. So maybe you could use Date widget:

    How to force a certain date format? Image 2 Screenshot 51

    And here is how it works:

    How to force a certain date format? Image 3 Screenshot 62

     

    So, maybe you can use that widget for Date field.

    Could that work for you?