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

    Date Condition Problem: Adding value on dateString function not working

    Asked by suportezapsul on December 26, 2014 at 11:43 AM

    I'm trying to add a new field with five days apart from the creation date and I'm not getting, could tell me what I'm doing wrong?

    This message always appears:

    "If output is datetime field, source must also be."

    dateString datetime date add days
  • Profile Image

    Answered by Ben on December 26, 2014 at 12:51 PM

    Hi,

    Based on the error and what you have described, it seems that you are trying to pass the date to another date field.

    Unfortunately that is not possible, you could only pass it as a text to a textbox.

    If you can give us a bit more details on what you would like to accomplish we might be able to give you an alternative option, but would require more details.

    Best Regards,
    Ben

  • Profile Image

    Answered by suportezapsul on December 26, 2014 at 09:23 PM

    Hi Ben!

    Sorry for the lack of explanation.

    I need a field that appears to be automatically filled with 5 days of the date that difference was filled in the form.

     

    Example Form:

    Date of Request: December 27

    Completion Date: January 1 (5 days later)

     

    You could put a screen shot of an example ?! I know it's stupid to ask this but I've tried in many ways followed the examples forum but I could not do any work. (It's shameful to admit it) -.- "

  • Profile Image
    JotForm Support

    Answered by liyam on December 27, 2014 at 05:05 AM

    Hello suportezapsul,

    To be able to help you further, can you provide us the form that you're working on?

    Please do take note that currently the output can be handled by regular text boxes. So if you're trying to set your output on to a date field, I don't think that can be possible. However, to be certain, I've submitted a ticket so that the developer in charge may verify this case.

    Please do let us keep us posted as well.

    Thanks.

  • Profile Image

    Answered by prowebcons on March 17, 2015 at 05:58 PM

    Hello,

     

    I'm doing the same and I have instead of the current +5 days later, like for instance:

     

    Current date: 03 - 17 - 2015

    Date returned: 11-20-1899

    Note: the calculation is very simple:  current date + 5 days, insert in a datetime field.

     

    Can you help please asap

     

    Eric

  • Profile Image
    JotForm Support

    Answered by Charlie on March 17, 2015 at 10:29 PM

    Hi prowebcons,

    To better assist you, I've created a separate thread for you so that we can answer your questions and queries. Please refer to this link instead: http://www.jotform.com/answers/535291.

    We will address to it accordingly.

    Thank you.