Pass Matrix field value to a prepopulated URL

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

     

  • Profile Image
    Charlie
    Answered on January 10, 2017 at 03: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. 

     

    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".  

     

    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.