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

  • Profile Image
    mgcaledonian13
    Asked on April 25, 2014 at 07: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

  • Profile Image
    jonathan
    Answered on April 26, 2014 at 02: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.

     

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

    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!

  • Profile Image
    mgcaledonian13
    Answered on April 26, 2014 at 04: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