Number field allows negatives using up/down arrow when Min value set is 0

  • mgcaledonian13
    Asked on April 25, 2014 at 7:11 PM

    Drop down list allows negatives even though the minimum number is set at 0 (zero). How can I stop negative numbers appearing?

    Willy Scott

  • jonathan
    Replied on April 26, 2014 at 2:43 AM

    Hi Willy,

    The Number field require at least 1 as the Min default value for it to detect value that is zero or negative when using the up/down arrow.

    Number field allows negatives using up/down arrow when Min value set is 0 Image 1 Screenshot 30

     

    As an alternative, you may want to use the Spinner field instead.

    Number field allows negatives using up/down arrow when Min value set is 0 Image 2 Screenshot 41

    The spinner field will not allow value below zero using the up/down arrow if Min set value is already zero(0)

    Please inform us if you need further assistance.

    Thanks!

  • mgcaledonian13
    Replied on April 26, 2014 at 4:42 AM

    Jonathan

    Thanks for the reply. Seems a little silly not to have 0 as a minimum, I suppose there is a reason - is there one?

    I wish I had asked the question nine months ago, all forms have got the number field.
    Ah well there is always next years Events.

    So it is a modification to the number field and email field (unique question does not work in email field, well not the way I want it to - refers to previous thread) for next year.

    Thanks anyway for the advice.

    Willy