← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] how get select input value in tracker capture.

 

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

Follow ups

References