Automatically add 3 days to departure date according to arrival input

  • ruslanchik
    Asked on October 31, 2014 at 3: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).
  • Mike_T Jotform Support
    Replied on October 31, 2014 at 4: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.

  • ruslanchik
    Replied on November 6, 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.

  • Ben
    Replied on November 6, 2014 at 1: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

  • ruslanchik
    Replied on November 7, 2014 at 2: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.

  • Ben
    Replied on November 7, 2014 at 2: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

  • ruslanchik
    Replied on November 7, 2014 at 2: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.