Support With Checkbox/Multiple select

Hi Asiz=2C
This is not supported with a single data element. You will need to create m=
ultiple data elements of type Yes Only or Yes/No for this for each of the =
services which might be offered.=20
Regards=2C
Jason

On Thu=2C Sep 17=2C 2015 at 8:27 AM=2C Asiz koju <utsavkoju@hotmail.com> wr=
ote:
Dear all=2CI am trying to create event without registration and i am trying=
to capture a data element where i need to select more than one Value. For =
eg: Service offered by Facility which might be more than one. How do we add=
ress these types of cases in DHIS2?
Regards=2CUtsav

ยทยทยท

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp

--=20
Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

--=20
Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp

--=20
Lars Helge =D8verland
Lead developer=2C DHIS 2University of OsloSkype: larshelgeoverland

_______________________________________________Mailing list: https://launch=
pad.net/~dhis2-devsPost to : dhis2-devs@lists.launchpad.netUnsubscribe =
: https://launchpad.net/~dhis2-devsMore help : https://help.launchpad.net=
/ListHelp

_______________________________________________
=0A=
Mailing list: https://launchpad.net/~dhis2-devs
=0A=
Post to : dhis2-devs@lists.launchpad.net
=0A=
Unsubscribe : https://launchpad.net/~dhis2-devs
=0A=
More help : https://help.launchpad.net/ListHelp
=0A=

=0A=

_______________________________________________=0A=
Mailing list: https://launchpad.net/~dhis2-devs=0A=
Post to : dhis2-devs@lists.launchpad.net=0A=
Unsubscribe : https://launchpad.net/~dhis2-devs=0A=
More help : https://help.launchpad.net/ListHelp =

--_9f494fb9-e7f8-4395-a94e-969f72e433b3_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hi all=2C<div>Your replies are m=
aking things quite interesting. Reading all the replies i think we can summ=
arize the solution we have as below</div><div>1. As JASON suggested=2C we c=
an have Yes only/Yes/No (preferable Yes only) for check-box. But the drawba=
ck over here is we need to create as many DE as the options in our checkbox=
.&nbsp=3B</div><div>2. As Markus suggested=2C We can have as many DE as our=
options alike to JASON but we can trick over in UI. We can make it look li=
ke group of checkbox merge together to show them as multi select drop down.=
Am i right?</div><div>3. As Abyot suggested=2C he has got something differ=
ent. He has created one DE=3B presented option as checkbox and stored value=
in that DE as json or something else. The problem with this approach is=2C=
its harder for us to analyze the details if we ever need to do so.</div><d=

<br></div><div>Checkboxes has always been headache and I am still confus=

ed which one should i prefer while addressing this problem in my program. P=
lease suggest me.<br><br>Regards=2C</div><div>Utsav<br><br><div><hr id=3D"s=
topSpelling">From: markus.bekken@gmail.com<br>Date: Thu=2C 17 Sep 2015 10:2=
0:58 +0200<br>To: abyota@gmail.com<br>CC: dhis2-devs@lists.launchpad.net<br=

Subject: Re: [Dhis2-devs] Support With Checkbox/Multiple select<br><br>Yes=

=2C for the previous pregnancies table? However=2C if the solution shall wo=
rk end to end we need to store the values across several dataelements. Give=
n this=2C the problem and solution can be in the client side - the problem =
is a unruly long list of "yes only" fields=2C and the solution could be a s=
marter/more compact input mecanism for a group of such dataelements.<div><b=

</div><div>Will post here once I have something in the Palestine tree.<br=
<div><div><br><div><blockquote><div>17. sep. 2015 kl. 09.59 skrev Abyot Gi=

zaw &lt=3B<a href=3D"mailto:abyota@gmail.com">abyota@gmail.com</a>&gt=3B:</=

<br class=3D"ecxApple-interchange-newline"><div><div dir=3D"ltr">Hi=2C<=
<br></div><div>Yes custom solutions are possible - I also remember doin=

g a similar thing for the first version of Palestine tracker. What I did ba=
ck then was appended all the values under a single dataeleemnt.</div><div><=

</div><div>In general=2C the issue is not from the input side=2C rather =

from the output side. If we are interested in counting or aggregating each =
distinct value then we have to create as many dataelements as values.<br></=

<div class=3D"ecxgmail_extra"><br clear=3D"all"><div><div class=3D"ecxg=

mail_signature"><div dir=3D"ltr"><div><br></div><div>---</div><div>Thank yo=
u=2C<br></div><div>Abyot.</div></div></div></div>=0A=
<br><div class=3D"ecxgmail_quote">On Thu=2C Sep 17=2C 2015 at 9:51 AM=2C Ma=
rkus Bekken <span dir=3D"ltr">&lt=3B<a href=3D"mailto:markus.bekken@gmail.c=
om" target=3D"_blank">markus.bekken@gmail.com</a>&gt=3B</span> wrote:<br><b=
lockquote class=3D"ecxgmail_quote" style=3D"border-left:1px #ccc solid=3Bpa=
dding-left:1ex=3B"><div style=3D"word-wrap:break-word=3B">Hi guys=2C<div>I =
am facing the same issue as you Asiz=2C and was planning to do a custom sol=
ution for the Palestine project: Use 10-ish "Yes only" dataelements=2C and =
group them together in a multiple select dropdown/popover/adaptation of sel=
ect2 - all while using the underlying yes only dataelements.</div><div><br>=
</div><div>Perhaps the solution can be improved upon so we could implement =
a generic version in the /\w* capture/g clients.</div><span class=3D"ecxHOE=
nZb"><font color=3D"#888888"><div><br></div><div>Markus</div></font></span>=
<div><div class=3D"h5"><div><br><div><blockquote><div>17. sep. 2015 kl. 09.=
41 skrev Lars Helge =D8verland &lt=3B<a href=3D"mailto:larshelge@gmail.com"=
target=3D"_blank">larshelge@gmail.com</a>&gt=3B:</div><br><div><div dir=3D=
"ltr" style=3D"font-family:Helvetica=3Bfont-size:12px=3Bfont-style:normal=
=3Bfont-variant:normal=3Bfont-weight:normal=3Bletter-spacing:normal=3Bline-=
height:normal=3Btext-align:start=3Btext-indent:0px=3Btext-transform:none=3B=
white-space:normal=3Bword-spacing:0px=3B">Hi Asiz=2C<div><br></div><div>the=
problem here is=2C how do you want this to behave in aggregation / analyti=
cs? Aggregate data elements can only be evaluated to a number...</div><div>=
<br></div><div>regards=2C</div><div><br>Lars</div><div><br></div><div><br><=
/div></div><div class=3D"ecxgmail_extra" style=3D"font-family:Helvetica=3Bf=
ont-size:12px=3Bfont-style:normal=3Bfont-variant:normal=3Bfont-weight:norma=
l=3Bletter-spacing:normal=3Bline-height:normal=3Btext-align:start=3Btext-in=
dent:0px=3Btext-transform:none=3Bwhite-space:normal=3Bword-spacing:0px=3B">=
<br><div class=3D"ecxgmail_quote">On Thu=2C Sep 17=2C 2015 at 9:30 AM=2C Ja=
son Pickering<span>&nbsp=3B</span><span dir=3D"ltr">&lt=3B<a href=3D"mailto=
:jason.p.pickering@gmail.com" target=3D"_blank">jason.p.pickering@gmail.com=
</a>&gt=3B</span><span>&nbsp=3B</span>wrote:<br><blockquote class=3D"ecxgma=
il_quote" style=3D"border-left-width:1px=3Bborder-left-color:rgb(204=2C204=
=2C204)=3Bborder-left-style:solid=3Bpadding-left:1ex=3B"><div dir=3D"ltr">H=
i Asiz=2C<div>The problem is option sets allow for a single choice=2C not m=
ultiple ones. I realize it is not particularly convenient=2C but I cannot t=
hink of another way to do it in this case. If there are other ideas however=
=2C it would be good to know!</div><div><br></div><div>Good luck=2C</div><d=

Jason</div><div><br></div></div><div><div><div class=3D"ecxgmail_extra">=

<br><div class=3D"ecxgmail_quote">On Thu=2C Sep 17=2C 2015 at 8:53 AM=2C As=
iz koju<span>&nbsp=3B</span><span dir=3D"ltr">&lt=3B<a href=3D"mailto:utsav=
koju@hotmail.com" target=3D"_blank">utsavkoju@hotmail.com</a>&gt=3B</span><=

&nbsp=3B</span>wrote:<br><blockquote class=3D"ecxgmail_quote" style=3D=

"border-left-width:1px=3Bborder-left-color:rgb(204=2C204=2C204)=3Bborder-le=
ft-style:solid=3Bpadding-left:1ex=3B"><div><div dir=3D"ltr">Hi Jason=2C<div=

Thanks for your quick response. As I have already mention i have got nearl=

y 20 services to select from and creating data element for each and every s=
ingle services as yes only or yes/no will over populate the data element li=
st. I have got another scenario where i have to register my provider. In th=
at program i have to chose either the provider is certified=2C trained or i=
nterested. And the we have nearly 15 services in the list. So that means we=
need to create 45 data elements to capture the details. I am afraid to imp=
lement this idea. Can you or anyone suggest me any possible solution?</div>=
<div><br></div><div>Regards=2C</div><div>Utsav<br><div><br></div><div><div>=
<hr>Date: Thu=2C 17 Sep 2015 08:38:53 +0200<br>Subject: Re: [Dhis2-devs] Su=
pport With Checkbox/Multiple select<br>From:<span>&nbsp=3B</span><a href=3D=
"mailto:jason.p.pickering@gmail.com" target=3D"_blank">jason.p.pickering@gm=
ail.com</a><br>To:<span>&nbsp=3B</span><a href=3D"mailto:utsavkoju@hotmail.=
com" target=3D"_blank">utsavkoju@hotmail.com</a><br>CC:<span>&nbsp=3B</span=

<a href=3D"mailto:dhis2-devs@lists.launchpad.net" target=3D"_blank">dhis2-=

devs@lists.launchpad.net</a></div><div><div><br><br><div dir=3D"ltr">Hi Asi=
z=2C<div><br></div><div>This is not supported with a single data element. Y=
ou will need to create multiple data elements of type Yes Only or Yes/No &n=
bsp=3Bfor this for each of the services which might be offered.&nbsp=3B</di=

<div><br>Regards=2C<br>Jason</div><div><br></div><div><br></div><div><br>=

</div></div><div><br><div>On Thu=2C Sep 17=2C 2015 at 8:27 AM=2C Asiz koju<=

&nbsp=3B</span><span dir=3D"ltr">&lt=3B<a href=3D"mailto:utsavkoju@hot=

mail.com" target=3D"_blank">utsavkoju@hotmail.com</a>&gt=3B</span><span>&nb=
sp=3B</span>wrote:<br><blockquote style=3D"border-left-width:1px=3Bborder-l=
eft-color:rgb(204=2C204=2C204)=3Bborder-left-style:solid=3Bpadding-left:1ex=
=3B"><div><div dir=3D"ltr">Dear all=2C<div>I am trying to create event with=
out registration and i am trying to capture a data element where i need to =
select more than one Value. For eg:<span>&nbsp=3B</span><b>Service offered =
by Facility<span>&nbsp=3B</span></b>which might be more than one. How do we=
address these types of cases in DHIS2?</div><div><br></div><div>Regards=2C=
</div><div>Utsav</div></div></div><br>_____________________________________=
__________<br>Mailing list:<span>&nbsp=3B</span><a href=3D"https://launchpa=
d.net/~dhis2-devs" rel=3D"noreferrer" target=3D"_blank">https://launchpad.n=
et/~dhis2-devs</a><br>Post to&nbsp=3B &nbsp=3B &nbsp=3B:<span>&nbsp=3B</spa=

<a href=3D"mailto:dhis2-devs@lists.launchpad.net" target=3D"_blank">dhis2=

-devs@lists.launchpad.net</a><br>Unsubscribe :<span>&nbsp=3B</span><a href=
=3D"https://launchpad.net/~dhis2-devs&quot; rel=3D"noreferrer" target=3D"_blank"=

https://launchpad.net/~dhis2-devs&lt;/a&gt;&lt;br&gt;More help&nbsp=3B &nbsp=3B:<span>=

&nbsp=3B</span><a href=3D"https://help.launchpad.net/ListHelp&quot; rel=3D"noref=
errer" target=3D"_blank">https://help.launchpad.net/ListHelp&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/b=

</div><br><br clear=3D"all"><div><br></div>--<span>&nbsp=3B</span=
<br><div><div dir=3D"ltr">Jason P. Pickering<br>email:<span>&nbsp=3B</span=
<a href=3D"mailto:jason.p.pickering@gmail.com" target=3D"_blank">jason.p.p=

ickering@gmail.com</a><br>tel:<a target=3D"_blank">+46764147049</a></div></=

</div></div></div></div></div></div></div></blockquote></div><br><br cl=

ear=3D"all"><div><br></div>--<span>&nbsp=3B</span><br><div><div dir=3D"ltr"=

Jason P. Pickering<br>email:<span>&nbsp=3B</span><a href=3D"mailto:jason.p=

.pickering@gmail.com" target=3D"_blank">jason.p.pickering@gmail.com</a><br>=
tel:<a target=3D"_blank">+46764147049</a></div></div></div></div></div><br>=
_______________________________________________<br>Mailing list:<span>&nbsp=
=3B</span><a href=3D"https://launchpad.net/~dhis2-devs&quot; rel=3D"noreferrer" =
target=3D"_blank">https://launchpad.net/~dhis2-devs&lt;/a&gt;&lt;br&gt;Post to&nbsp=3B =
&nbsp=3B &nbsp=3B:<span>&nbsp=3B</span><a href=3D"mailto:dhis2-devs@lists.l=
aunchpad.net" target=3D"_blank">dhis2-devs@lists.launchpad.net</a><br>Unsub=
scribe :<span>&nbsp=3B</span><a href=3D"https://launchpad.net/~dhis2-devs&quot; =
rel=3D"noreferrer" target=3D"_blank">https://launchpad.net/~dhis2-devs&lt;/a&gt;&lt;=

More help&nbsp=3B &nbsp=3B:<span>&nbsp=3B</span><a href=3D"https://help.=

launchpad.net/ListHelp" rel=3D"noreferrer" target=3D"_blank">https://help.l=
aunchpad.net/ListHelp</a><br><br></blockquote></div><br><br clear=3D"all"><=

<br></div>--<span>&nbsp=3B</span><br><div><div dir=3D"ltr"><div><div di=

r=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"=

<div><div dir=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"l=

tr"><div style=3D"font-size:12.8000001907349px=3B"><div style=3D"font-size:=
12.8000001907349px=3B"><font color=3D"#666666"><span style=3D"font-size:12.=
8000001907349px=3B">Lars Helge =D8verland</span><br></font></div><div style=
=3D"font-size:12.8000001907349px=3B"><font color=3D"#666666">Lead developer=
=2C DHIS 2</font></div><div style=3D"font-size:12.8000001907349px=3B"><font=
color=3D"#666666">University of Oslo</font></div><div style=3D"font-size:1=
2.8000001907349px=3B"><font color=3D"#666666"><span style=3D"font-size:12.8=
000001907349px=3B">Skype: larshelgeoverland</span><br></font></div><div sty=
le=3D"font-size:12.8000001907349px=3B"><span style=3D"font-size:12.80000019=
07349px=3B"><font color=3D"#666666"><a href=3D"https://www.dhis2.org/&quot; targ=
et=3D"_blank">http://www.dhis2.org</a></font></span></div><div style=3D"fon=
t-size:12.8000001907349px=3B"><span style=3D"color:rgb(102=2C102=2C102)=3Bf=
ont-size:12.8000001907349px=3B"><br></span></div></div></div></div></div></=

</div></div></div></div></div></div></div></div></div></div></div></div=
</div><span style=3D"font-family:Helvetica=3Bfont-size:12px=3Bfont-style:n=

ormal=3Bfont-variant:normal=3Bfont-weight:normal=3Bletter-spacing:normal=3B=
line-height:normal=3Btext-align:start=3Btext-indent:0px=3Btext-transform:no=
ne=3Bwhite-space:normal=3Bword-spacing:0px=3Bdisplay:inline !important=3B">=
_______________________________________________</span><br style=3D"font-fam=
ily:Helvetica=3Bfont-size:12px=3Bfont-style:normal=3Bfont-variant:normal=3B=
font-weight:normal=3Bletter-spacing:normal=3Bline-height:normal=3Btext-alig=
n:start=3Btext-indent:0px=3Btext-transform:none=3Bwhite-space:normal=3Bword=
-spacing:0px=3B"><span style=3D"font-family:Helvetica=3Bfont-size:12px=3Bfo=
nt-style:normal=3Bfont-variant:normal=3Bfont-weight:normal=3Bletter-spacing=
:normal=3Bline-height:normal=3Btext-align:start=3Btext-indent:0px=3Btext-tr=
ansform:none=3Bwhite-space:normal=3Bword-spacing:0px=3Bdisplay:inline !impo=
rtant=3B">Mailing list:<span>&nbsp=3B</span></span><a href=3D"https://launc=
hpad.net/~dhis2-devs" style=3D"font-family:Helvetica=3Bfont-size:12px=3Bfon=
t-style:normal=3Bfont-variant:normal=3Bfont-weight:normal=3Bletter-spacing:=
normal=3Bline-height:normal=3Btext-align:start=3Btext-indent:0px=3Btext-tra=
nsform:none=3Bwhite-space:normal=3Bword-spacing:0px=3B" target=3D"_blank">h=
ttps://launchpad.net/~dhis2-devs</a><br style=3D"font-family:Helvetica=3Bfo=
nt-size:12px=3Bfont-style:normal=3Bfont-variant:normal=3Bfont-weight:normal=
=3Bletter-spacing:normal=3Bline-height:normal=3Btext-align:start=3Btext-ind=
ent:0px=3Btext-transform:none=3Bwhite-space:normal=3Bword-spacing:0px=3B"><=
span style=3D"font-family:Helvetica=3Bfont-size:12px=3Bfont-style:normal=3B=
font-variant:normal=3Bfont-weight:normal=3Bletter-spacing:normal=3Bline-hei=
ght:normal=3Btext-align:start=3Btext-indent:0px=3Btext-transform:none=3Bwhi=
te-space:normal=3Bword-spacing:0px=3Bdisplay:inline !important=3B">Post to =
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B:<span>&nbsp=3B</span></span><a href=3D"mai=
lto:dhis2-devs@lists.launchpad.net" style=3D"font-family:Helvetica=3Bfont-s=
ize:12px=3Bfont-style:normal=3Bfont-variant:normal=3Bfont-weight:normal=3Bl=
etter-spacing:normal=3Bline-height:normal=3Btext-align:start=3Btext-indent:=
0px=3Btext-transform:none=3Bwhite-space:normal=3Bword-spacing:0px=3B" targe=
t=3D"_blank">dhis2-devs@lists.launchpad.net</a><br style=3D"font-family:Hel=
vetica=3Bfont-size:12px=3Bfont-style:normal=3Bfont-variant:normal=3Bfont-we=
ight:normal=3Bletter-spacing:normal=3Bline-height:normal=3Btext-align:start=
=3Btext-indent:0px=3Btext-transform:none=3Bwhite-space:normal=3Bword-spacin=
g:0px=3B"><span style=3D"font-family:Helvetica=3Bfont-size:12px=3Bfont-styl=
e:normal=3Bfont-variant:normal=3Bfont-weight:normal=3Bletter-spacing:normal=
=3Bline-height:normal=3Btext-align:start=3Btext-indent:0px=3Btext-transform=
:none=3Bwhite-space:normal=3Bword-spacing:0px=3Bdisplay:inline !important=
=3B">Unsubscribe :<span>&nbsp=3B</span></span><a href=3D"https://launchpad.=
net/~dhis2-devs" style=3D"font-family:Helvetica=3Bfont-size:12px=3Bfont-sty=
le:normal=3Bfont-variant:normal=3Bfont-weight:normal=3Bletter-spacing:norma=
l=3Bline-height:normal=3Btext-align:start=3Btext-indent:0px=3Btext-transfor=
m:none=3Bwhite-space:normal=3Bword-spacing:0px=3B" target=3D"_blank">https:=
//launchpad.net/~dhis2-devs</a><br style=3D"font-family:Helvetica=3Bfont-si=
ze:12px=3Bfont-style:normal=3Bfont-variant:normal=3Bfont-weight:normal=3Ble=
tter-spacing:normal=3Bline-height:normal=3Btext-align:start=3Btext-indent:0=
px=3Btext-transform:none=3Bwhite-space:normal=3Bword-spacing:0px=3B"><span =
style=3D"font-family:Helvetica=3Bfont-size:12px=3Bfont-style:normal=3Bfont-=
variant:normal=3Bfont-weight:normal=3Bletter-spacing:normal=3Bline-height:n=
ormal=3Btext-align:start=3Btext-indent:0px=3Btext-transform:none=3Bwhite-sp=
ace:normal=3Bword-spacing:0px=3Bdisplay:inline !important=3B">More help &nb=
sp=3B&nbsp=3B:<span>&nbsp=3B</span></span><a href=3D"https://help.launchpad=
.net/ListHelp" style=3D"font-family:Helvetica=3Bfont-size:12px=3Bfont-style=
:normal=3Bfont-variant:normal=3Bfont-weight:normal=3Bletter-spacing:normal=
=3Bline-height:normal=3Btext-align:start=3Btext-indent:0px=3Btext-transform=
:none=3Bwhite-space:normal=3Bword-spacing:0px=3B" target=3D"_blank">https:/=
/help.launchpad.net/ListHelp</a></div></blockquote></div><br></div></div></=

</div><br>_______________________________________________<br>=0A=

Mailing list: <a href=3D"https://launchpad.net/~dhis2-devs&quot; rel=3D"noreferr=
er" target=3D"_blank">https://launchpad.net/~dhis2-devs&lt;/a&gt;&lt;br&gt;=0A=
Post to&nbsp=3B &nbsp=3B &nbsp=3B: <a href=3D"mailto:dhis2-devs@lists.launc=
hpad.net">dhis2-devs@lists.launchpad.net</a><br>=0A=
Unsubscribe : <a href=3D"https://launchpad.net/~dhis2-devs&quot; rel=3D"noreferr=
er" target=3D"_blank">https://launchpad.net/~dhis2-devs&lt;/a&gt;&lt;br&gt;=0A=
More help&nbsp=3B &nbsp=3B: <a href=3D"https://help.launchpad.net/ListHelp"=
rel=3D"noreferrer" target=3D"_blank">https://help.launchpad.net/ListHelp&lt;/=

<br>=0A=

<br></blockquote></div><br></div></div>=0A=
</div></blockquote></div><br></div></div></div><br>________________________=
_______________________=0A=
Mailing list: https://launchpad.net/~dhis2-devs=0A=
Post to : dhis2-devs@lists.launchpad.net=0A=
Unsubscribe : https://launchpad.net/~dhis2-devs=0A=
More help : https://help.launchpad.net/ListHelp&lt;/div&gt;&lt;/div&gt; </=

</body>

</html>=

--_9f494fb9-e7f8-4395-a94e-969f72e433b3_--