← Back to team overview

dhis2-devs team mailing list archive

Re: how could i save some value in "Datavalue" table for input with "No Value" radio button ?

 

thanks Jason

On Tue, Sep 27, 2016 at 2:55 PM, Jason Pickering <
jason.p.pickering@xxxxxxxxx> wrote:

> Create an option set with three options
>
> 1) True
> 2) False
> 3) No value
>
> and assign that to the data element as its option set instead of using of
> the default Yes/No and Yes only types.
>
> Regards,
> Jason
>
>
>
> On Tue, Sep 27, 2016 at 11:22 AM, Brajesh Murari <brajesh.murari@xxxxxxxxx
> > wrote:
>
>> Hello Dev,
>>
>> Since i am assigning a dataelement with data type value (yes/no) to a
>> dataset, and when i am doing data entry for period type monthly,
>> the input appears with three different type of values with radio buttons
>> ie, "No value","Yes","No".
>>
>> Here, if i am selecting input with "No" radio button, it saves as "False"
>> as value in "Datavalue" table.
>> Or, if i am selecting input with "Yes" radio button, it saves as "True"
>> as value in "Datavalue" table.
>> Or, if i am selecting input with "No Value" radio button, it doe't saves
>> anything as value in "Datavalue" table.
>>
>> My question is, for some specific requirement, how could i save some
>> value in "Datavalue" table for input with "No Value" radio button ?
>>
>> --
>> ---
>> Thanks and Regards
>>
>> Brajesh Murari
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.pickering@xxxxxxxxx
> tel:+46764147049
>



-- 
---
Thanks and Regards

Brajesh Murari

References