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 let the user choose the number of rows in a matrix?

    Asked by Kitty on June 11, 2013 at 06:13 PM

    I want to find out how many times a user did something (fish collections) and I am collecting the same information for each entry. So I have fields size and depth, and if a user says they caught 5 fish they fill it out 5 times, if they caught 10 fish they fill it out 10 times.

     

    Thank you for your help, this form is fantastic and I'm just beginning to discover the possibilities :)

    rows size find fill same information
  • Profile Image
    JotForm Support

    Answered by Morian on June 11, 2013 at 09:36 PM

    Hello! 

    Thanks for contacting us and we appreciate that wonderful comment about our fomrs. =)

    I understand what you're trying to accomplish although to dynamically add or remove rows in a matrix based on a user's response is beyond the scope of our forms. You would need to contact your web developer to add some PHP codes to accomplish that.

    One workaround I can suggest is to simply add several matrix with different number of rows with all hidden initially. It will only be visible if it matches the number the user enters. You can set a condition for that

    The drawback to this is that it will obviously be limited to the number of matrix that you added in the form. 

    Please check this sample I did. The maximum number of fish caught here is 3 as I only added 3 matrix with 1, 2, and 3 rows respectively. 

    http://form.jotformpro.com/form/31617641104950?

  • Profile Image

    Answered by Kitty on June 12, 2013 at 08:27 AM
    Thank you so much for replying so quickly and thoroughly! Seeing as I am my web developer and my knowledge of coding is minimal I think I'll have to figure out option two. I watched the video on conditional formatting but haven't quite figured it out yet, but I saw what happens on the sample form you made so hopefully with enough trial and error I'll figure it out.

    One more quick question, can the conditions take the user to a different form I've made? Or would it all be hidden within my one form?

    Thank you!
    Kitty Edwards
    CORE Foundation
    340.998.4820

  • Profile Image

    Answered by sidharth_kch on June 12, 2013 at 08:57 AM

    @Kitty

    It is possible to redirect your user to conditional thank you URLs. This thnk you URL can be your form URL. You will need to use conditional logic on the form to achieve this.

    Let us know if you need further assistance.

    Thanks,

    Sidharth

  • Profile Image

    Answered by Kitty on June 12, 2013 at 02:38 PM
    I am setting up my matrixes but I'm having difficulty with the conditions and getting it to work like the sample form I was sent. Is it possible that I could get a little help with that? I read the conditions page, I'm just not getting it.

    Thanks!
    Kitty Edwards
    CORE Foundation
    340.998.4820

  • Profile Image
    JotForm Support

    Answered by Mike_T on June 12, 2013 at 04:22 PM

    There are conditions from Morian's form:

    I would like to recommend you to Clone the form to check its backend:

    http://form.jotformpro.com/form/31617641104950

    If you need any more assistance on this, please let us know. We will be happy to help.

  • Profile Image

    Answered by COREVI on November 16, 2013 at 12:33 PM

    I am the original poster on this issue, and was wondering if there has been any work on creating a dynamic matrix? I've been using the conditions on my form that supports up to 10 rows, but I would really like for my users to be able to decide the number of rows.

  • Profile Image
    JotForm Support

    Answered by Welvin on November 16, 2013 at 02:19 PM

    @COREVI,

    Unfortunately, we don't have an update about the request. I'm trying to search for your request thread, but I can't seem to find it. I would suggest posting your own request on a separate thread instead. Note that the more request we have for a single feature, the more the chance our developers will consider adding it in the future.

    You can start a new thread using this link: http://www.jotform.com/answers/answer.php?

    Thanks