Date picker field: Can't pass the date from one form to another when field is in lite mode

  • chaimsinai
    Asked on January 30, 2018 at 7:44 AM

    Hi. I am using the Field IDs to pass info from


    https://form.jotform.com/71575637745165


    to


    https://form.jotform.com/80287682595168


    but for somereason the date (lite) is not transfering.


    Here is my string


    https://form.jotform.com/80287682595168?custname202={custname201}&irregularfleet202={typein201}&job1202={job1201}&qty1202={qty1201}&date202={date201}&jobdesc202={job1desc201}&job1vins202={job1vins201}&job2202={job2201}&qty2202={qty2201}&job2desc202={job2desc201}&job2vins202={job2vins201}&job3202={job3201}&qty3202={qty3201}&job3desc202={job3desc201}&job3vins202={job3vins201}&installer202={installer201}&date202={date201}

  • liyam
    Replied on January 30, 2018 at 10:12 AM

    Based on tests and analysis, it appears that there is no way to pre-fill via URL parameter when the date field is set to lite mode. 

    Let me escalate this matter to the development team. We will let you know once we have updates.

    Thanks.

  • chaimsinai
    Replied on January 30, 2018 at 10:57 AM

    I first tried it without the Lite version and also couldn't do it.

    is there any other way to pass a date from one form to another?

  • janberk
    Replied on January 30, 2018 at 11:21 AM

    Date field value is an Object so it should be passed on url like; https://form.jotform.com/80287682595168?date202[month]=4&date202[day]=4&date202[year]=2010

    If you have further issues please let us know.

  • chaimsinai
    Replied on January 30, 2018 at 11:40 AM

    So like this?

    &date202[month]={date201[month]}&date202[day]={date201[day]}&date202[year]={date201[year]}


    is this with Lite?

  • janberk
    Replied on January 30, 2018 at 11:41 AM

    Yes, that should work.

  • chaimsinai
    Replied on January 30, 2018 at 11:50 AM

    I tried that but this is what gets returned in the date field

     

     In case you can't see the image it says

     

    "NaN-NaN-NaN"

  • janberk
    Replied on January 30, 2018 at 11:53 AM

    can you please try again as;

    &date202[month]={date201:month}&date202[day]={date201:day}&date202[year]={date201:year}

  • chaimsinai
    Replied on January 30, 2018 at 11:55 AM

    Yes. That works. Thank you!

  • janberk
    Replied on January 30, 2018 at 11:57 AM

    You are welcome, if you have further issues please let us know.