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

  • jolomero
    Asked on September 26, 2014 at 7: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.
  • jonathan
    Replied on September 26, 2014 at 8: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.

    I get an error message when using the same Date Widget to the form Image 1 Screenshot 30

     

    I get an error message when using the same Date Widget to the form Image 2 Screenshot 41

     

    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.

     

  • jolomero
    Replied on September 26, 2014 at 8: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

    I get an error message when using the same Date Widget to the form Image 1 Screenshot 30

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

    I get an error message when using the same Date Widget to the form Image 2 Screenshot 41

    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

  • Ashwin JotForm Support
    Replied on September 27, 2014 at 3: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!