What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Pass Matrix field value to a prepopulated URL

    Asked by MBWHS 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

     

    Page URL:
    https://form.jotform.co/62608212806856

    Screenshot
  • Profile Image
    JotForm Support

    Answered by Charlie 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.