Update mini date picker widget value using conditions

  • Profile Image
    AgilityAssoc.Canada
    Asked on May 20, 2021 at 02: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.png

    Can you offer a method to accomplish this?

    Best, Robert


  • Profile Image
    Basil_A
    Answered on May 20, 2021 at 05: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.


  • Profile Image
    AgilityAssoc.Canada
    Answered 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.png

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

    Best, Robert

  • Profile Image
    Basil_A
    Answered 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

    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.

  • Profile Image
    AgilityAssoc.Canada
    Answered 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

  • Profile Image
    AgilityAssoc.Canada
    Answered 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

  • Profile Image
    Anita_K
    Answered 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_

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

    1622046149_60ae75c5d1371_

    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.

  • Profile Image
    Richie_P
    Answered 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.


  • Profile Image
    Sonnyfer
    Answered on July 16, 2021 at 01: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