← Back to team overview

dhis2-devs team mailing list archive

Re: Data entry input fields

 

Dear Murod,

You can also use the following code in the input field in DHIS2.
<input style="width:2em;>

2016-01-05 9:22 GMT+06:00 Nghia Nguyen <nghianguyentran92@xxxxxxxxx>:

> [image: Boxbe] <https://www.boxbe.com/overview> This message is eligible
> for Automatic Cleanup! (nghianguyentran92@xxxxxxxxx) Add cleanup rule
> <https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Ftoken%3DjyGl%252F3i8bxlIdi5h381sYbGYZUXJdlu6JG7wOk17skcsaMOBcIEMsEB9feXINGQcnuo0CjhuxIkEfdLSNWq97cL9WZd8TdmJXB8PY%252BHtkY5kH4qptuD6uLh37LIjCmX%252B5mOmRkR3hBYolTJNN6gYZA%253D%253D%26key%3DBwYH4X5uVIpmapPofK6qkJcOoFPZBGULzOM9E8pi1U8%253D&tc_serial=23895931312&tc_rand=964679638&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>
> | More info
> <http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=23895931312&tc_rand=964679638&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001>
>
> Dear Murod,
> You can try this css. it changes the height of textarea input fields. You
> can base on that to reduce width your input fields. Hope it can helps you.
>
> <style type="text/css">
> .textarea  (the class of the textarea input field)
> {
>   resize:both !important;
>   height:20px !important;
>   width:20px !important;
> }
> .entryarea (edit the min-limit (height,width) of Dhis2)
> {
>    min-width: 0px !important;
>    min-height: 0px !important;
> }
> </style>
>
> regards,
> Nghia
>
> On Tue, Jan 5, 2016 at 4:41 AM, Murod Latifov <mlatifov@xxxxxxxxx> wrote:
>
>> Dear all,
>>
>>
>> Anybody can give quick hint on where I could reduce the width of input
>> fields. I tried fron form/js and also java but no luck. DHIS2.21
>>
>> regards,
>> murod
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> ----------------------------------------
> Name: Nguyễn Trần Nghĩa.
> Tel: 0903721500
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Regards,

*Mohammad Ullah*
-----------------------------------------------------------------------------------------
Technical Advisor (HIS) – Health Sector
Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH
German House
House 10/A-2, Road 90
Gulshan 2, Dhaka 1212, Bangladesh

T    +880 9666701000
F    +880 28823099
M    +880 196 31 56 988
Web    http://lnkd.in/gQrxXz
Skype    mohammad_ullah_giz

Office Location:
Room # 304, Shahid Dr. Milan Bhavan,
MIS, DGHS of MoHFW, Mohakhali, Dhaka.

T    02 8816412 (ex:118)

References