← Back to team overview

dhis2-users team mailing list archive

Re: DHIS2 Javascript

 

Dear Joao,

Use a custom form, JQuery and DHIS2 API. This should help you achieve what
you want.
JQuery library is pre-loaded for you in the custom form.

Thanks.

On Tue, Nov 18, 2014 at 4:18 PM, Joao Mazuze <Joao_Mazuze@xxxxxxxxxxxx>
wrote:

>  Dear all,
>
> Does anyone have any idea in how do I create a javascript in dhis2  to
> pull data from previous period to a field in the current form during data
> entry? This is because we need to avoid user input in some fields that must
> be calculated and on the previous periods values.
>
>
>
> *Melhores Cumprimentos*
>
>
>
> *João Gabriel Mazuze*
>
> *National Database Manager*
>
> CHASS-SMT Project
>
> Abt Associates Inc.
>
> Av. Marginal  nº 4067
>
> Maputo -  Mozambique
>
> Fax: (+ 258) 21493525/6/8
>
> Tel:  (+ 258) 21486767
>
> Cell: (+258) 824236279
>
> www.chasssmt.com
>
>
>
> [image: Description: Description: Description: Description: Description:
> Description: Description: Description: Logotipo CHASS-SMT]
>
> *We are a project founded by PEPFAR-II  through USAID to strengthen  the
> Health System in Sofala, Manica and Tete Provinces.*
>
> *Our aim is to improve  linkages and integration of HIV to  primary health
> care and other related services in coordination with the Provincial Health
> Directorates and partners. *
>
> *Through CHASS-SMT project, the US Government supports the Mozambican
> Governament to improve  quality of health care services in the country.*
>
>
>
>
> ------------------------------
> This message may contain privileged and confidential information intended
> solely for the addressee. Please do not read, disseminate or copy it unless
> you are the intended recipient. If this message has been received in error,
> we kindly ask that you notify the sender immediately by return email and
> delete all copies of the message from your system.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2,
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "

JPEG image


Follow ups

References