Pass Matrix field value to a prepopulated URL

  • MBWHS
    Asked on January 10, 2017 at 12:34 AM

    Hi 

    Could you please advise how i can extract the Weight from this form so that I prepopulate a weight field in another form with this value?

    I know how to do the prepopulating, I just don't know how to get the field id

     

    thanks

     

    Jotform Thread 1030092 Screenshot
  • Charlie
    Replied on January 10, 2017 at 3:54 AM

    I'm sorry, I'm not sure if I am missing something, but I can't get the value from the Matrix field directly using the unique name and field IDs.

    The only way I can think of to pass this is by first passing the specific cell in the Matrix field to a text box or a form calculation widget. In my case I added a form calculation widget to get the cell in row 1 column 1. 

    Pass Matrix field value to a prepopulated URL Image 1 Screenshot 30

     

    Then in the "Add Field" button, you can actually fetch the value from the matrix field. If the value in the cell is alphanumeric, set the value type in the calculation wizard to "A-Z".  

    Pass Matrix field value to a prepopulated URL Image 2 Screenshot 41

     

    With that, you only need to get the field ID/unique name of the form calculation widget and pass it to the URL parameter. 

    You can see it in action here: https://form.jotform.com/70091370710951 

    I hope that helps.