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.
Is it possible to populate the row and column headings in a matrix field from values entered in another field?Asked by hilltopkennels on July 28, 2015 at 10:35 AM
A user would enter the names of their dogs.
They would enter the number of kennel runs they need.
If the number of kennel runs is less than the number of dogs then some dogs need to share.
If it's possible a matrix field would be shown with 1 row for each kennel and 1 column for each dog.
They would then click in the matrix field to choose where the dogs are to be located.
Rufus Fido Spot Beethoven
Kennel1 x x
Kennel2 x x
How would I do that?
You can do that with update a field conditional logic. Here's a guide:
In the output field, you have the option to choose the matrix field. The input boxes are presented in a radio button. It is straightforward, just select what input will be filled when the logic is meet.
That isn't what I needed, I need to be able to put the use the value entered to define the column heading of the matrix field, not one of the cells below the column heading
Unfortunately there is no such option or function within the Form Builder that will allow you to dynamically change the Matrix field column/header names.
It can probably be achieved by using the form's source code, and then inject your own script that will modify the Matrix text column name base on a condition. Please take note that this will require separate programming to come up with the needed function code.