← Back to team overview

dhis2-devs team mailing list archive

Re: custom form in Tracker Capture

 

hello , i am new here, Want to contribure .Confused where to start ? any
directions?
Any help will be appreciated .

On Sun, Oct 9, 2016 at 6:53 PM, channara rin <rin.channara@xxxxxxxxx> wrote:

> Dear alex,
> thank you alot.... :-)
> But could you give example one attribute for me? i don't know how to use
> that script...
>
> On Thu, Oct 6, 2016 at 5:36 PM, Alex Tumwesigye <atumwesigye@xxxxxxxxx>
> wrote:
>
>> Dear Channara,
>>
>> Use angular $watch to watch the models changes.
>>
>>
>> Attribute model is $scope.selectedTei.uid
>> event model is $scope.currentEvent.uid
>>
>> For Jquery,
>> use $(selectedTei.uid).val("Your value").trigger('input');
>>
>> For angular,
>> This $scope.selectedTei.uid will pick your value, however, you will need
>> $watch to watch for changes.
>>
>>  Note uid is the dhis2 11 character identifier.
>>
>> Alex
>>
>> On Thu, Oct 6, 2016 at 12:47 PM, channara rin <rin.channara@xxxxxxxxx>
>> wrote:
>>
>>> Dear all,
>>> do you know any jquery script for tracker capture custom form to catch
>>> require attributes fields and unique attribute field?
>>>
>>> for example, when i edit client's profile in tracker capture. if i do
>>> some things wrong format of attribute fields, when i click update/save. i
>>> didn't see any popup message what i did wrong. but when i look console. i
>>> saw error of jax to use "PUT" on 404 message.
>>>
>>> thank you
>>> channara
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Alex Tumwesigye
>>
>> Technical Advisor - DHIS2 (Consultant),
>> Ministry of Health/AFENET  | HISP Uganda
>> Kampala
>> Uganda
>> +256 774149 775, + 256 759 800161
>> Skype ID: talexie
>>
>> IT Consultant (Servers, Networks and Security, Health Information Systems
>> - DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant
>>
>>
>> "I don't want to be anything other than what I have been - one tree hill "
>>
>
>
> _______________________________________________
> 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
>
>


-- 
Best Regards
Shyam Tayal
Department of Computer Science
Shri Mata Vaishnodevi University
Jammu & Kashmir

Follow ups

References