Update mini date picker widget value using conditions

  • AgilityAssoc.Canada
    Asked on May 20, 2021 at 2:17 PM

    Form: 81646514559970


    I have a field called, "(TD) Trial Date" the the person, enters a date for the event. If the event date changes because COVID-19, a new date is entered in field called "New Trial Date".

    I tried using some logic to have the "New Trial Date" also change the "(TD) Trial Date" as well, It doesn't work.

    1621534851 60a6a883d7ae0 newdate Screenshot 10

    Can you offer a method to accomplish this?

    Best, Robert


  • Basil JotForm Support
    Replied on May 20, 2021 at 5:27 PM

    Hi,

    I have created a form based on your logic and it is working for me.

    https://form.jotform.com/211396254389060

    Please keep in mind that the value needs to be enter normally into the form to trigger the condition.

    If you are attempting to enter the value from the tables page, the conditions will not be triggered.

    If you are normally entering the values, can you please provide the form in which you are applying the logic for us to test it?

    Looking forward to your reply.


  • AgilityAssoc.Canada
    Replied on May 25, 2021 at 11:32 AM

    Hi,

    Sorry about the delay... other fish to fry.

    Form: 81646514559970

    The date entered for (TD) Trial Date may need to be changed if the editor know it at the time of cancelling for CV-19. If they enter a new date in the date field that appears, I need it to replace the date in the (TD) field. My logic is not doing this. I do see that your demonstration is successful.... not mine.

    1621956652 60ad182c784da new date Screenshot 10

    So it must be the logic I entered... Thanks for the help...

    Best, Robert

  • Basil JotForm Support
    Replied on May 25, 2021 at 12:44 PM

    Hi,

    I believe the issue is that you are using the mini date picker widget.

    Can you please attempt replacing the widget that you are currently using for the conditions with the regular date picker widget?

    1621960945 60ad28f14bd5f chrome cpbBcfcF Screenshot 10

    Please create the same condition with the new fields after that and the condition should work.

    Please let us know if you require any further assistance.

  • AgilityAssoc.Canada
    Replied on May 26, 2021 at 10:52 AM

    Hi,

    Thank you, It works in a fashion, the original date is deleted, but is not replaced by the new date. Is this, also because I'm using a widget for the (TD) date?

    Robert

  • AgilityAssoc.Canada
    Replied on May 26, 2021 at 12:06 PM

    I changed the date for (TD) to regular date picker. This works but I don't like the format, the other dates(widgets) can display the month as text, the regular one can't. I don't like the inconsistency.

    So, back to, can I update the widget date using the regular date field?

    Robert

  • Anita_K
    Replied on May 26, 2021 at 12:24 PM

    Hi Robert,

    I have looked into this as per our chat conversation. I have cloned your form and since you didn't have a New Trial Date field anymore I renamed the other Trial Date field. Then I applied the following condition:

    1622046113 60ae75a11bd1e  Screenshot 10

    As you can check on the clone of your form, it's working between the two fields: https://form.jotform.com/211455315421950

    1622046149 60ae75c5d1371  Screenshot 21

    Please put back the new date field onto your form as well, apply the condition, and if it still doesn't work please let us know so that we can check it on your live form.

  • Richie JotForm Support
    Replied on May 27, 2021 at 11:43 AM

    Unfortunately, it is not possible to pass the date picker field date value using condition to the Mini Date picker widget.

    I have forwarded a feature request to our developers.

    Once we have updates, you will be notified.


  • geradpiquiy
    Replied on July 15, 2021 at 7:07 PM

    I want the same feature in my page widget. I'm running a garments store website and I want to add some product widget form.
  • Sonnyfer JotForm Support
    Replied on July 16, 2021 at 1:02 AM

    Hello @geradpiquiy - I have moved your query to another ticket to avoid confusion. Please follow this link. https://www.jotform.com/answers/3223880