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

    conditionals using matrix values

    Asked by lindar on September 21, 2011 at 12:52 PM

    Hi,

    Is it possible to make conditional effects in a form based on results from a matrix? I cannot find the matrix in the list of conditional fields to choose from when trying to set up the conditional rule.

    I attached an image showing which fields I'd like to display, only if there is a value greater than 0 entered in any of the 3 fields within the matrix ("Number of employees...").

    Thanks for your help,

    -Cathie R.

    Screenshot
  • Profile Image
    JotForm Support

    Answered by NeilVicente on September 22, 2011 at 03:19 AM

    Hi Cathie,

    Unfortunately, no, values in a matrix field cannot be involved in a condition. Matrix fields are pretty complicated, the amount of "subfields" you can create with it is almost limitless. Thus, involving those subfields in conditions can get quite messy and might cause conflicts in the script responsible for the conditions.

    An alternative I suggest is by replacing your matrix with multiple text boxes and a free text.

    To make these fields sit side by side, you have to shrink them (right click > Shrink).

    You can then use these fields in conditions in any way you want.


    Neil