On a matrix field, is it possible to limit the entries in a numeric input box?

  • dbriskey
    Asked on September 2, 2016 at 10:45 AM

    I would like to limit the possible entries in the numeric input box on the matrix fields used in this form.  The only allowed entries should be 0, 1, 2, 3, 4, 5. How can I do this?

     

  • KadeJM
    Replied on September 2, 2016 at 11:35 AM

    So if I am understanding you correctly I believe you mean that you want to allow only numbers to be entered.

    Also, when you mention the 1,2,3,4,5 did you mean you want that only 1 digit for 1 through 5 then or does that matter so long as it's numeric?

    It's possible to switch your matrix default input to a numeric field.

    On a matrix field, is it possible to limit the entries in a numeric input box?  Image 1 Screenshot 20

  • dbriskey
    Replied on September 2, 2016 at 11:37 AM

    I am using the numeric text box. However, I want users to only be able to input the following numbers: 

    0,1,2,3,4,5.  Is this possible to do? 

  • Jan
    Replied on September 2, 2016 at 1:45 PM

    If you want to limit the answers in the matrix table then you can use the "drop down" instead of the "numeric text box". Here's a guide:

    1. Select the Matrix field and then click the "Input Type" button. Select the "Drop Down" option.

    On a matrix field, is it possible to limit the entries in a numeric input box?  Image 1 Screenshot 50

    2. Click the gear or properties icon.

    On a matrix field, is it possible to limit the entries in a numeric input box?  Image 2 Screenshot 61

    3. Go to the "Fields" tab and then scroll down. You'll see the "Dropdown Options" where you can enter the choices (0-5). Click the "Save Changes" button when you're done.

    On a matrix field, is it possible to limit the entries in a numeric input box?  Image 3 Screenshot 72

    4. Here's the result:

    On a matrix field, is it possible to limit the entries in a numeric input box?  Image 4 Screenshot 83

    Please take note that you can't type comma(,) in the numeric text box. You need to use the text box option instead.

    Hope that helps. Thank you.