I am sure HTML 5 attributes should help. Just go to the source of the data
entry form and add min and max attributes
<input type="number" name="quantity" min="1" max="5">

On Wed, Sep 10, 2014 at 11:25 AM, Morina Matasi <morena.motsi...@gmail.com>
wrote:

> Can I enforce Max/Min values on a data entry form. Validation is not
> giving me much flexibility. I want the data entry form not to save when a
> value entered is outside a range (Min-Max). How do I do that?
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
ICT Warehouse (Pvt) Ltd - "The Stockist of *e*-nnovation"
7 Chelmsford Belgravia, Harare
Tel: +263-8644-102349
Cell: +263-772-268353
Website: *www.ict.co.zw <http://www.ict.co.zw>*


Innovative solutions in Web Design and E-Commerce, Software Engineering,
Mobile and Bulk SMS Solutions, Graphic Design and Printing, General ICT
Solutions and Consultancy.
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to