• Resolved asifemon

    (@asifemon)


    Hi , currently it shows a warning if i put negative number as i added 0-15 as limit but i dont want it, i want it to not take any negative value. how can i do it ?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Vivek Acowebs

    (@viveke)

    Hi Asif.

    You can prevent negative values from being entered through scroll or keyboard input using the following JavaScript.

    jQuery(document).ready(function() {
    jQuery(“input[type=number]”).attr({ “min”: 0 });
    });

    Please add this JavaScript snippet to your site and check.

    Thanks.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.