Dear Morina,

The HTML 5 attributes will help if the form is a custom form, that way you
can persist the code.

Thanks.

On Wed, Sep 10, 2014 at 12:48 PM, Morina Matasi <morena.motsi...@gmail.com>
wrote:

> <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 <mar...@ict.co.zw> 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.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
>
>


-- 
Alex Tumwesigye

Teaching Assistant,
Department of Electrical and Computer Engineering
College of Engineering, Design, Art and Technology, Makerere University

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
_______________________________________________
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