What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How can I have a date field with dynamic default date?

    Asked by rogero on September 12, 2016 at 10:10 AM

    Hi,

    In my form "Work Submission Form" I have added a (hidden) time field with today's date as project start date. I would like to ad a time field with today's date + 10 days for project end date.

    Zappier will be using these two dates when a new project is created in ProWorkflow,

    Thanks, Roger

    Page URL:
    https://eu.jotform.com//?formID=62202508494352

    hidden time field start date
  • Profile Image
    JotForm Support

    Answered by Welvin on September 12, 2016 at 11:38 AM

    Add another DateTime field then set the default to "today+10".

    Test Form: https://form.jotform.com/62554353506960

  • Profile Image

    Answered by rogero on September 13, 2016 at 08:51 AM

    Hi,

    Now I noticed that I actually need to ad 10 workdays (monday to friday), is that possible?

    Roger

  • Profile Image
    JotForm Support

    Answered by Welvin on September 13, 2016 at 10:53 AM

    You can exclude weekend selections from the DateTime field settings, but when setting up dynamic dates, the weekends are still counted over. I will have to request this to our developers and I'm sorry to say, I can't seem to find a workaround for this.

  • Profile Image

    Answered by rogero on September 14, 2016 at 02:03 AM

    Hi,

    Thanks for your reply and thanks for adding it to the request list.

     

    Roger