← Back to team overview

dhis2-devs team mailing list archive

Re: Tracker capture and custom forms

 

Hi Olav!
Let me address your second point :)

> 10. mai 2016 kl. 15.45 skrev Olav Poppe <olav.poppe@xxxxxx>:
> 
> Hi devs, 
> first, I’ve been working on a custom data entry form for tracker (2.22 and 2.23). I’ve customised the same form as programmes with and without registration, and I notice that in Tracker Capture everything is seemingly "magnified" by 25% or so compared to Event Capture (e.g. rows that are 35px high in EC are 44px in TC). Is there a reason for this? The way it is rendered in Event Capture seems more "normal" to me, whilst opening custom forms in Tracker Capture always make me think Chrome is set to zoom… 
> 
> Second, in Tracker Capture, there seems to be no way of displaying "validation warnings" (defined through program rules) - could there be something similar to EC, with a "Validation warnings" widget? Similarly, while EC will highlight missing required fields when completing ("Required" in red), there is no indicator TC as to what field(s) are missing.
Yes, we have been talking about the same, we need a way of showing the warnings in custom forms, and adding a widget like EC is perhaps the hottest option. Another one that was mentioned was adding them inside the form, somehow - for example as a small icon in or next to the input field. We are also discussing a use case for having validation errors that is triggered/shown when trying to complete the program stage. Maybe some warnings could be nice to show upon completion also - inside the dialog for confirming the completion for example.
> 
> Regards
> Olav
> 
> 
> 
> _______________________________________________
> 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



References