Allowing only numbers to be entered in the Other field of a Check Box

  • Timothyink
    Asked on August 31, 2016 at 2:56 PM

    I have a need to only allow a number to be entered in the other category.  I do not want to allow customers to enter text.  Numbers only.  Is there a way to do that? 

  • Boris
    Replied on August 31, 2016 at 5:10 PM

    We cannot limit the Other option of a Check Box field to accept only numeric entry, but we can achieve such a requirement by building our own "Other" option instead. We can do this by adding one more Number field to your form, and applying a show/hide conditional rule on it.

    Here is how to achieve it, described in steps.

    Step 1, adding a Number field to the form, and naming it "Other" or "Other Apparel Product". We will use this to get your "other" value, and since it is a number field, it will only accept numbers:

    Allowing only numbers to be entered in the Other field of a Check Box Image 1 Screenshot 50

    Step 2, access the settings of the Check Box field, by clicking on its gear-shaped icon (1):

    Allowing only numbers to be entered in the Other field of a Check Box Image 2 Screenshot 61

    Once it opens, switch to the Options tab (2), remove the custom Other option (3), and add an "Other" option among the regular options in your Check Box field:

    Allowing only numbers to be entered in the Other field of a Check Box Image 3 Screenshot 72

    Step 3, we finally set up 1 show conditional rule to show our Number field, if Other is selected in the Check Box:

    https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    Allowing only numbers to be entered in the Other field of a Check Box Image 4 Screenshot 83

    Please try it out, and if you need any further assistance, please let us know.

  • Timothyink
    Replied on September 1, 2016 at 8:46 PM
    Great. Thanks
    ...