How to make certain form is filled out in correct format.

  • Profile Image
    cramerf
    Asked on May 16, 2013 at 10:10 AM

    How can I have the form check if the date is in the MMDDYYYY format?

    I have used the birthday date picker.  I have modified month and day reordered the years in the source code.  My problem is that in the e-mails sent it returns the date as 05 22 2013.  How to I remove the saces and replace with dash like 05-23-2013.

  • Profile Image
    jalaludeen
    Answered on May 16, 2013 at 10:24 AM

    Hello Cramerf,

    In Quick Tools -> DateTime add this

    here you can change Date Formate.

    Thanks,

    Jalaludeen

  • Profile Image
    cramerf
    Answered on May 16, 2013 at 10:29 AM

    I did choose this format, but it is letting people use dates such as M/D/yyyy which is not acceptable.

  • Profile Image
    jalaludeen
    Answered on May 16, 2013 at 10:48 AM

    Hello cramerf,

    Please provide us form url to assist you in better way.

    Thanks

    Jalaludeen

  • Profile Image
    cramerf
    Answered on May 16, 2013 at 10:54 AM
    http://www.healthcare.uiowa.edu/training/cuihc500/production/Vacation/Vacation.html
    some do not use the date picker.
    Some prefer to enter a date format as they please.
    ________________________________
    Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.
    ________________________________
  • Profile Image
    KadeJM
    Answered on May 16, 2013 at 12:08 PM

    I see what you mean and yes that is true that technically you can manually fill this in. It seems to me that if I am understanding your problem correctly you are looking to apply some type of method to physically validate this to prevent it from becoming a further issue. 

     

    Example of Wrong/Invalid Date Input:

    www.healthcare.uiowa.edu_training_cuihc500_production_Vacation_Vacation.html - Google Chrome

     

    A suggestion to prevent this you can see on this on this Example Form which will allow more control over the Date & Time input so that they are actual instead of partial.

    http://form.jotform.us/form/31354511141137

     

    Example Screenshot:

    JotForm · Form Builder - Mozilla Firefox