Configurable List: How to allow only positive figures in the Number field

  • Profile Image
    rotwori
    Asked on October 18, 2017 at 02:23 AM

    This is a very helpful widget. Is it possible in future to enable one to set limits on the numbers that can be entered, for example to allow only positive figures. And also you could set it such that you can set limits or conditions to two fields for example two number where one cannot be less than another.

    In the mean time is their a way i can do this manually using javascript?



    This is a re-post of a comment on How to Set Up the Configurable List Widget

  • Profile Image
    BJoanna
    Answered on October 18, 2017 at 05:44 AM

    It is already possible to set the limits on the Number field of the Configurable list widget and to allow only positive figures. 

    The options that are available for the Number fields are:

    step - can be a floating number ( with decimal )

    min - can be a floating or negative number

    max - can be a floating or negative number

    You can use 0 for min option to allow only positive figures.

    1508319277configurable.JPG

    Here is my demo form: https://form.jotform.com/70514058807961 

    It is not possible to use conditional logic to perform a calculation with Configurable list widget. You can use two number fields and set a different range so that one cannot be less than another.

    It is not possible to add scripts to our Form Builder, but you can use the Full Source Code of your form, embed it to your website and add your script there. 

    How to get the Full Source Code of your Form

    Hope this meet what you are looking for.