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

    Automatically add 3 days to departure date according to arrival input

    Asked by ruslanchik on October 31, 2014 at 03:08 PM
    -> after setting the date of arrival, automatically add 3 days to this date and update the field with date of departure (for instance, I arrive on the 1st of October and the form automatically sets my date of departure on 4 October).
    add days calculations date date calcualtion
  • Profile Image
    JotForm Support

    Answered by Mike_T on October 31, 2014 at 04:58 PM

    It seems that we do not have a direct date manipulation option for such case. You might consider using a work around based on a form source code and custom javascript. Please see the next thread to find out an example:

    How can I set the date time tool to display a future date?

    I will update this thread if I find a better solution. Thank you.

  • Profile Image

    Answered by ruslanchik on November 06, 2014 at 12:19 PM

    Thanks for response. I am afraid, but I haven't the strong grasp of java scripting at all. Can I ask the support team of Jotform to adjust the adding 3 day script to my form? It's crucial for user-centering my form.

    I strongly hope for your deep understanding. Great thanks.

  • Profile Image

    Answered by Ben on November 06, 2014 at 01:38 PM

    Hi,

    I would suggest searching for a freelancer on oDesk or some similar website to find someone that would be able to create this functionality for you and implement it into jotforms the source code for you.

    I will however open a feature request to our developers in regards to this so if it becomes available we would update you through this thread.

    Best Regards,
    Ben

  • Profile Image

    Answered by ruslanchik on November 07, 2014 at 02:07 PM

    Greetings, I just write to inform you that I adjusted the adding days script to my form and it works successfully.

    At the same time, I'm using form lightbox on my website. Thus, what should I do in order to use my form with adding days script directly in lightbox on my website? I tried to upload new page and change "base", but it doesn't work. Please, show me an example of lightbox code.

    Strongly hope for your deep understanding.

  • Profile Image

    Answered by Ben on November 07, 2014 at 02:33 PM

    Hi,

    I have moved your question to another thread so that we can properly help you with that issue http://www.jotform.com/answers/455945 and to avoid any possible confusion.

    This way our developers will notify you through this thread once the feature of adding days becomes a reality in JotForm Form Builder while we help you there.

    Best Regards,
    Ben

  • Profile Image

    Answered by ruslanchik on November 07, 2014 at 02:38 PM

    Great. By my last question was about embedding my form with day's script on my website within light box. Thus, this question pending an answer now.