dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #05266
Re: Enforcing Max/Min Value on Data entry Form
<input type="number" name="quantity" min="1" max="5">
This doesnt work. Those attributes disappear when I save the form.
On Wed, Sep 10, 2014 at 11:36 AM, Moses Marimo <marimo@xxxxxxxxx> wrote:
> 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.motsieng@xxxxxxxxx
> > 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@xxxxxxxxxxxxxxxxxxx
>> 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.
>
Follow ups
References