Moving date/time from one form to another.

  • Profile Image
    KonsusOp
    Asked on June 05, 2016 at 06:09 PM

    I want to populate the fields from one form with the entries from another form. Doing it via url and i have issues with the time.

    For the date it works fine by doing:

    projectDeadline[day]={deadlinecet:day}&projectDeadline[month]={deadlinecet:month}&projectDeadline[year]={deadlinecet:year}

    Question is, how do i carry over the hour:minutes part ?

     

    See the attached pic.

     

    Screenshot
  • Profile Image
    liyam
    Answered on June 05, 2016 at 07:11 PM

    Hello KonsusOp,

    You can populate the hour and minutes fields just by doing the same with how you did on the day, month, and year fields. What it only needs is to match a certain value from the dropdown list.

    Example: https://www.jotform.com/61566747574368?projectDeadline[day]={deadlinecet:day}&projectDeadline[month]={deadlinecet:month}&projectDeadline[year]={deadlinecet:year}&projectDeadline[hour]=1&projectDeadline[min]=30

    So in order for you to see it in action with using placeholders/template vars, you will need to do an actual submission.

    If you have questions, please do let us know.

    Thanks. 

  • Profile Image
    KonsusOp
    Answered on June 05, 2016 at 08:42 PM

    Works fine, thanks. hour for hour and min for minutes field.