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

    I get an error message when using the same Date Widget to the form

    Asked by jolomero on September 26, 2014 at 07:48 PM
    In testing the pages, I noticed that I can't use the same date widget twice otherwise I get an error message which completely breaks the whole form on my site.  I ended up using two different date widgets to make it work.
    date widget date picker widget
  • Profile Image
    JotForm Support

    Answered by jonathan on September 26, 2014 at 08:11 PM

    Hi,

    Can you please tell us which Date widget you were referring to?

    I just checked the Date Picker Widget but I was able to add 2 of them on the jotform.

     

     

    Can you please retry again. Perhaps there was a temporary glitch during the time.

    Please tell us which date widget so we can check further.

     

    Thanks.

     

  • Profile Image

    Answered by jolomero on September 26, 2014 at 08:50 PM

    Hi there,

    The problem was not in adding two versions of the date picker as you have shown above.  The problem arose when I tried to fill in the form with those two dates on my website.  The form worked fine as long as I didn't import or embed it on my site.

    Initially I used two copies of the Date Picker

    After saving these, one of the two ended up with some kind if ID

    The problem was that after completing the form, I would get an error message saying that one of the dates hadn't been filled out.  When I tried to correct the mistake, the form would not return to the proper place for editing and it was breaking the process for someone trying to fill the form in.

    My solution was to use two different date pickers on the form for the two different dates

  • Profile Image
    JotForm Support

    Answered by ashwin_d on September 27, 2014 at 03:02 AM

    Hello jolomero,

    If I understand your question correctly, you mean to say that you added two "Date Picker" widget in your form and marked it as "Required". When you embedded this form in your web page, you get an validation error message that one of the date is not filled out when you submit your form. This works as expected when you test you form with its direct URL. Is that correct?

    I did test this issue in one of my own form and it seems to work just fine.  Is it possible for you to clone your form, add the two date picker widget and embed it in your web page (can be a clone of your existing web page) so that we can try to replicate the issue and report it.

    Which embed code you used to embed your form in your web page. If you used the script embed code, It could be probably a code conflict causing this issue. Embedding your form with its iFrame embed code will solve this problem. The following guide should help you:  http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code 

    We will wait for your response.

    Thank you!