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.chann...@gmail.com> 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-d...@lists.launchpad.net > 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-users Post to : dhis2-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp