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

    Can I use form field tags to access sub-fields of a matrix?

    Asked by keman1383 on July 07, 2015 at 08:54 PM

    I know I can use form fields to access submitted information in an auto-generated email (ie fullName:first when used with a full name field would give me the first name) but how can I access each sub-field in a matrix? I know that in a URL I can use matrix[0][0] to pre-populate but that is NOT what I'm looking for. I need to know how to get to each of the cells on a matrix when I send an email.

     

    I've put in an example form to show what I mean. None of the tags in the email work currently.

    Page URL:
    http://form.jotform.us/form/51865134452152

    form field field tags sub form field tags
  • Profile Image
    JotForm Support

    Answered by Charlie on July 08, 2015 at 03:25 AM

    Hi,

    I'm currently making some test on how to get the values on the Matrix field, unfortunately, I'm still unable to make it work in my end. 

    I'll try to research more and see if we can get it. 

    However, I have a workaround that you can use. Currently, you can now select specific fields on the Matrix field and output it on a form calculation widget. Here's a guide on that: http://www.jotform.com/help/343-How-to-perform-form-calculation-using-the-Matrix-Field- 

    You can then just hide that form calculation widget field but use it instead in the email notification template.

    Let us know if you want some step by step on that workaround.

    Thank you.

     

  • Profile Image

    Answered by keman1383 on July 13, 2015 at 04:10 PM

    Thanks! I hadn't thought about a work around like this but it makes perfect sense. I'll try to get it working here when I have a second.

  • Profile Image
    JotForm Support

    Answered by Kiran on July 13, 2015 at 05:26 PM

    We hope that the workaround should work for you. Please do not hesitate to get back to us if you need any further assistance in this regard. We will be happy to help.

    Thank you for using JotForm!!