← Back to team overview

dhis2-users team mailing list archive

Re: Filtered Drop-downs on Tracker/Event Forms

 

Here is one way to do it:

http://www.dnasir.com/github/jquery-cascading-dropdown/demo.html

On Fri, Dec 4, 2015 at 12:32 PM, David Hagan <david.hagan@xxxxxxxxxxxxx>
wrote:

> Thanks Prosper,
>
> I was afraid you were going to say that …
>
> Any glimmers of this on the development roadmap for the rules area
> (anyone?)
>
> David
>
> On 4 December 2015 at 06:21, Prosper BT <ptb3000@xxxxxxxxx> wrote:
>
>> Hi David,
>>
>> This is not yet supported, you may have to write a script with custom
>> forms. We had a similar challenge during the eIDSR implementation in Rwanda
>> for selecting Laboratories by drilling down from region to district.
>>
>> Regards
>>
>> On Fri, Dec 4, 2015 at 8:13 AM, David Hagan <david.hagan@xxxxxxxxxxxxx>
>> wrote:
>>
>>> Hi,
>>>
>>> A quick question on whether the standard out-of-the-box capability of
>>> DHIS2 allows one to filter a drop-down based on a previous selection (I
>>> would assume something like this would normally be implemented via a rule -
>>> ideally the skip-logic rule area).
>>>
>>> For larger lists (e.g. diagnosis codes) I’m sure this must have been
>>> considered previously, but can’t find any mentions in the mail list, and
>>> can’t see how this can be implemented (using standard capability currently
>>> offered).
>>>
>>> We are looking at the scenario of implementing a simplistic version of
>>> ICPC for field encounters … and there are 2 quick potential ‘pre-selectors’
>>> that reduce final selection from hundreds to less than 30 items, greatly
>>> speeding up the data capture process for the end-user.
>>>
>>> (Note we are looking at using the latest v2.21 Android Tracker App as
>>> the basis for serving this encounter form)
>>>
>>> Cheers
>>>
>>> David
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Prosper Behumbiize, MPH
>> Global HISP| University Of Oslo/HISP Uganda
>> +256 752 751 776 | +256 776 139 139
>> ptb3000@xxxxxxxxx | prosper@xxxxxxxxx | Skype: prospertb
>>
>>
>
>
> _______________________________________________
> 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
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org

References