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

    How can I add a static number into the Matrix box?

    Asked by czawodzi on July 08, 2015 at 03:49 PM

    I have created an example using a matrix (showing the teachers how I want the form to be filled out), how can I put a static number in a matrix text box?


    Also, I want to validate the numbers in a matrix text box, so that the teachers cannot make a mistake inputting the numbers.  For instance, I have 5 columns across,  1, 1, 2, 3, 4.  They cannot fill in a 4, into a column header of 1.  I would like an error to appear if that happens.  Is this possible?  I tried the tools in conditions, but I am done playing, and I would appreciate an answer.  Thanks so much!  Cathy
  • Profile Image

    Answered by Ben on July 08, 2015 at 05:14 PM

    Since we can assist with only one issue / question per thread, I have moved your question about validation to a new thread here: http://www.jotform.com/answers/606037 where we will be answering it shortly.

    I presume that this is the form in questions: http://www.jotform.us/form/51796285342160

    Now this would be possible, but in that case, the field would not be possible to fill out - only a number would be shown in its place.

    Would that be what you are looking for, or are you looking to have the number in the field and then allow them to remove it to enter their own number?

  • Profile Image

    Answered by czawodzi on July 09, 2015 at 09:18 AM
    Hi and thank-you for your assistance! It is just an example matrix, so I
    would just need a static number in a matrix field (text box). cz
  • Profile Image

    Answered by KadeJM on July 09, 2015 at 02:19 PM

    I'm not sure that I fully understand what you meant so I do apologize in advance.

    It seems that you either want a matrix kinda resembling how you have it with numbers in front?

    Or perhaps you meant that you want a matrix with numbers inside textboxes possibly?

    Please correct me if needed.

  • Profile Image

    Answered by czawodzi on July 10, 2015 at 11:52 AM

    Hi,    I have a matrix, that I added for an example on how to fill in that portion of the form.  I just want to fill in one of the text boxes of the example matrix with one number, so they can see how to fill in the form.    

  • Profile Image
    JotForm Support

    Answered by ashwin_d on July 10, 2015 at 01:49 PM

    Hello czawodzi,

    That means you want to add static value in one of the textbox of the matrix question. Is that correct?

    Let me do further tests and get back to you if this is possible.

    Thank you!

  • Profile Image

    Answered by czawodzi on July 10, 2015 at 01:52 PM

    Yes, just one number that will always be in the example.  

  • Profile Image
    JotForm Support

    Answered by Mike on July 10, 2015 at 03:46 PM

    We can populate a Matrix Text Box input with a help of conditional logic.

    Here is an example where we populate "1" to the first Text Box on the Matrix field.

    If you need any further assistance, please let us know.