← Back to team overview

dhis2-devs team mailing list archive

Re: how get select input value in tracker capture.

 

Thank you Nghia.
I will try it and get back to you!

2018-01-14 10:56 GMT+00:00 Nghia Nguyen <nghianguyentran92@xxxxxxxxx>:

> Hi Hakim,
>
> Can you try this one,
>
> let customForm = angular.element(document.querySelector("d2-custom-data-
> entry-form")).scope();
> let (name_of_Value) = customForm.currentEvent.(put_
> DataElement_ID_Of_Input_field_here);
>
> On Fri, Jan 12, 2018 at 10:27 PM, DJIBRIL Hakim <djib.hakim@xxxxxxxxx>
> wrote:
>
>> Hi,
>> Please need help me on this,
>> I am doing custom form in tracker form, I want to get select input  value
>> in tracker capture with javascript. I need it for generate another value
>> based on it.
>> Thanks!!!
>>
>> Best regards.
>>
>> _______________________________________________
>> 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
>
>

References