[Dhis2-devs] DHIS-2 API: Partial Update of organisation objects (extra attributes)

2017-11-24 Thread Omer Butt
Hi,

Dhis-2 Developer Guide:
I have to use partial update Api to update the organisation unit attributes
.But could not get it. Can you please make sample for orgunit attribute
update using api.

*below is the api for Partial Update .*

The format for updating a single property is the same as when you are
updating a complete object, just with only 1 property in the JSON/XML file,
i.e.:

curl -X PATCH -d "{\"name\": \"New Name\"}" -H "Content-Type: application/json"
-u admin:district
https://play.dhis2.org/dev/api/26/dataElements/fbfJHSPpUQD/name



Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS-2 API's : Updating the attributes values of a specific org Unit

2017-11-24 Thread Omer Butt
Hi,

I am using that api with json format  data to update specific attribute of
an org unit . But its create a new orgunit rather than updating the
existing org unit.
kindly explain or guide where i am wrong.

Below is the data format in json and api that iam using.
I have to update that orgunit with attribute value .

*json string data : data.json*

{"orgUnit":"o6s4YOrMS1T","name":"Muslim Medicose","shortName":"Muslim
Medicose","openingDate":"2016-09-01","attributeValues":[{"attribute":{"id":"Jn52d5llxAo"},"value":"1"}]}

*API :*

curl -X PUT -d @data.json -H "Content-Type: application/json"
-u user:password http://server/api/26/organisationUnits/o6s4YOrMS1T



Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS-2 API : Update org Unit and their attribute values

2017-11-22 Thread Omer Butt
Hi,

How to Update org Unit fields like name,short Name etc and their* extra
attributes* using web API.

Kindly Guide.


Thanks


Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS-2 API For setting attributes values of organisation unit.

2017-11-21 Thread Omer Butt
Hi,

I have studied developer guide for searching an API: *That will set the
value of extra attributes that i have added to organisation unit. *
Could not find yet.

*For Example :*

Attribute id:abc (*which is the extra field/attribute of organisation unit
)*
Attribute value: 123
set it to org unit - id :abcxmsms etcc;

Can you please guide me for this API? Or any Reference ?

Thanks




Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2 - Data Entry for Custom Form

2017-10-24 Thread Omer Butt
Hi ,

Face Issue Regarding Data entry of Custom form that contains some
repetitive fields & unique fields. below is the screen shot of Custom Form.

[image: Inline image 1]

In That form fields from *Session Type* to *Organizatio*n  will be same for
below participant information. but participant information (*Name of
Participant* to *Facilitating BCC* fields) is unique each time.

How i will manage it to perform data entry in better way
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS2- API

2017-10-09 Thread Omer Butt
Sir,

I am in searching of couple of API's that respond according to my need.

1 :
Any API that can generate/create  data element   ???

2:
Any API that can add newly created data elements to specific data set.


Any Information regarding API's that will help my problem.

Thanks.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS2- API

2017-09-20 Thread Omer Butt
Hi ,
I used that api for sending data values from api to dhis2 DB. (data values
of data sets)

URL:

curl -d @datavalueset.json "https://play.dhis2.org/demo/api/26/dataValueSets;
  -H "Content-Type:application/json" -u admin:district -v

Values Are send successfully to  DHIS2 DB .But how to tell db using
this api that This data set is complete .

Kindly Help.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS-2 API

2017-09-19 Thread Omer Butt
Hi,
can you please how to get a level 6  orgunit only by using DHIS-2 API;

I used this api but It Respone all org unit under specific org unit.
I want  only level 6 org unit that uder specific org unit.

* level=6 conditon not working. How to use it ?*
*URL:*

*API:/api/organisationUnits/cdp3S26sBwA.json?includeDescendants=true=6*

Kindly Help me .
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS-2 API

2017-09-10 Thread Omer Butt
*Question:*
I am Using DHIS-2 API's in my project.
I have done data entry for data sets for the month
of June,July and Aug 2017.

Now I want a list that contain detail   about the data entry status of data
sets for months.
I have to achieve this using DHIS-2 API's.

*For Example:*

*list would be like this:*

*Sr.No   --Org Unit -- Data set   --Period --Status*
  1   Okara FM-12017-07completed
  2   THQ   FM-22017-08completed


Kindly Help me To get solution that fulfill this requirement or something
like this.


Thanks.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS2- Developers API

2017-09-07 Thread Omer Butt
Kindly Response .
Waiting.

On Thu, Sep 7, 2017 at 9:25 AM, Omer Butt <omerbutt2...@gmail.com> wrote:

> Hi,
>
> *for Example:*
> *Jan , Feb ,  March etc.*
> *I want to get status of the month for Data Entry Of Data Sets ?*
>
> Thanks
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS2- Developers API

2017-09-06 Thread Omer Butt
Hi,

*for Example:*
*Jan , Feb ,  March etc.*
*I want to get status of the month for Data Entry Of Data Sets ?*

Thanks
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS-2 API for data entry of data sets

2017-08-30 Thread Omer Butt
Sir,
I used  this API: */api/dataValueSets *to send data values to data set
elements(Save in DB Successffully).

 How to pass/integrate * "**dataSetComplete=true"  w*ith this api.

Thanks
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS2- API

2017-08-28 Thread Omer Butt
Sir,

How to get Data sets  of current user login?

Thanks
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS2-API

2017-08-24 Thread Omer Butt
Sir,
I have create a Extra attribute for Organization Unit.
that is Fatype is my case which is added with org unit which are at level 6.

*for example : *
*Amand is orgunit. their fatype is BHU.*

how can i access it with the org unit using api ??

Thanks.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS-2 API's

2017-08-24 Thread Omer Butt
Sir,
Will there a API to get information about facilities attaced to orgunit
group.

Like BHU is a orgunit group.
will i access the names of facilities that under BHU.

Thanks.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS-2 API's

2017-08-23 Thread Omer Butt
Sir I used that API :
*:/api/organisationUnits/OYfCChzZ1wx.json?fields=ancestors,children,name*

*Response :*
{"name":"Bannu","children":[{"id":"yvVnd97UiJN"},{"id":"cdlEAe4BMS2"}],"ancestors":[{"id":"osCztkmFYud"},{"id":"KH8VFLnpwWL"}]}


*--*
*How Can I get name of the children and ancestors. ??*
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS-2 Developer API -Login Through DHIS2-API from other Website

2017-08-21 Thread Omer Butt
Sir,
Please Provide me a guideline of using API to login from other Website to
DHIS2-Server.

Thanks.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS-2 Developer guide : Using API's

2017-08-20 Thread Omer Butt
Sir,

 I want to access current user organization unit and their hierarchy as
well.

Means From that level to last level .
level 1 to level 5 of current org unit.

Thanks.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2 -Developer Guide Api's

2017-08-17 Thread Omer Butt
Sir,
I have test DHIS-2 API for getting data in XML and J SON form.
I checked API parameters for list of organization unit. But did not get
according to my need.

*I need API for getting organization **hierarchy of current user login. *

how to use parameter to access them ?
I tested but can't get like that. It give me all organization units.

Thanks.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS -2 Custom JS , CSS File

2017-08-16 Thread Omer Butt
Hi Sir,

How to work with Custom JSS, CSS File. How to include my own JS file in
DHIS2-Sofware which is global to all apps. (Data Entry etc.)

Thanks.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2

2017-08-16 Thread Omer Butt
Hi Sir,
will I access this page on Its loading ??
I have to run some Javascript , J Query before it completely Load.
Which dhis2. event i will used and where to access this ?

[image: Inline image 1]
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS-2 Change Organization Unit Tree To Drop Down menus From Front End

2017-08-15 Thread Omer Butt
Dear Sir,

Any Way to Change the Selection of *organization unit *??
Default is Tree Base Structure. Will it be change to Drop menus ??

Kindly Provide a way to resolve that issue .
Or any other suggestion to handle this.

Thanks.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2 Database

2017-08-15 Thread Omer Butt
Dear Sir,
How Can i Restore dhis2 database (PhpMyadmin4)  to Its Default Position ?
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2 - How can i access this web application in customize Form :

2017-08-15 Thread Omer Butt
Dear  Sir,
How Can I access DHIS-2 Web Application To Change Its interface According
to my Needs.

For Example :
*The Organization Unit Tree :*

*- Will I change it from Frond End by using Javascript or HTML/CSS. *
*- Will I access it through bekend ? using Java ?*

Kindly Guide to me a way to access it and can be able to change it
according to my need. Especially The Organization Unit Structure.


*Thanks.*
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2 Development

2017-08-11 Thread Omer Butt
I have to change interface of a data entry app.
how can i access it code to Re-Develop it . (According to my need.)
I access the code from GitHub.  DHIS -2 Core
>From Which folder at GitHub I will be able to get code of Data Entry App.

Kindly Guide me.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2

2017-08-10 Thread Omer Butt
While Using DHIS 2 Software :
Is there a way to make Interface more user friendly in Data Entry of Forms.

Or Will change it According to my client Need ? So Client Easily Enter Data
For Data Entry Forms.
Kindly Response.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2 : WiIl I change the front end of Data Entry App for Data Entry ?

2017-08-09 Thread Omer Butt
For Example :

1. The Selection Of Organization unit By  Client(Data Entry User) .

To make it user friendly to access it and perform data entry
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2

2017-08-07 Thread Omer Butt
Aoa Sir,
Can i save a data elements values to DB by using Your DHIS 2 API.??
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2

2017-08-07 Thread Omer Butt
Aoa sir,
Is there a way to select an organization unit from drop down List.
Or
 we provide a filter to search organization easily from organization list.
Kindly help me out.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS 2

2017-08-03 Thread Omer Butt
will i use a Ajax call to access data from db ???
Kindly inform me about all these questions .
So that i start work on that to achieve my goal.

Thanks

On Fri, Aug 4, 2017 at 10:19 AM, Omer Butt <omerbutt2...@gmail.com> wrote:

> Will i use your api to manipulate data in Custom Form ??
>
> On Fri, Aug 4, 2017 at 9:34 AM, Omer Butt <omerbutt2...@gmail.com> wrote:
>
>> Aoa Sir,
>> How can i access the Database data in Custom Design form for data entry.
>> I have to populate values in drop down from db.
>> IS there a way to do that ??
>> for Example:
>> province in drop downs:
>> Districts: in drop downs. etc
>>
>> [image: Inline image 1]
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS 2

2017-08-03 Thread Omer Butt
Will i use your api to manipulate data in Custom Form ??

On Fri, Aug 4, 2017 at 9:34 AM, Omer Butt <omerbutt2...@gmail.com> wrote:

> Aoa Sir,
> How can i access the Database data in Custom Design form for data entry.
> I have to populate values in drop down from db.
> IS there a way to do that ??
> for Example:
> province in drop downs:
> Districts: in drop downs. etc
>
> [image: Inline image 1]
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2

2017-08-03 Thread Omer Butt
Aoa Sir,
How can i access the Database data in Custom Design form for data entry.
I have to populate values in drop down from db.
IS there a way to do that ??
for Example:
province in drop downs:
Districts: in drop downs. etc

[image: Inline image 1]
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2

2017-08-03 Thread Omer Butt
Aoa SIir,
Kindly tell me the procedure how data elements id is Created ?
Will i generate it dynamically ?
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2

2017-08-01 Thread Omer Butt
Aoa Sir ,
 I assigned dataelements to dataset for creating a form.
After that i go for custom design and their is 0 dataelements shown.
I have that issue for 3 day previously. But it work fine before that.
Below is the image for understanding my  problem.
Kindly help me out about that issue.
ELements shown in totals.

[image: Inline image 1]
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] ISSUE with DHIS2 version 2.27

2017-07-26 Thread Omer Butt
Aoa Sir,

 

In DHIS 2 version 2.27 Software while using Tabular Tracker Capture (TTC)
App, face this issue.

 

Image : 

 



 

That Issue also Occur in  your demo  link :

 https://play.dhis2.org/demo/api/apps/tabular-tracker-capture-220/index.html

 

Kindly Resolve it or guiding a way how to resolve it. 

 

Thnks

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2 SOftware

2017-07-21 Thread Omer Butt
Aoa sir,

As in below image first row of input fields can be re-enter by clicking
plus button if needed. (For page 1, page 2 etc )
But  other below fields  are entered just once time .
After that form will be Saved.

I have to manage these two functionality in one custom form.
Tabular Tracker Capture App don't have that kind of functionality. I have
checked it.
Any other way  java script is the way to Resolve this Functionality ?
Because i done this functionality in PHP using JS.
(By coding )

I have to Implement this functionality in your DHIS2 Software.

I have spend 2-3 day in that issue.
Kindly help me.

[image: Inline image 1]
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] DHIS 2

2017-07-19 Thread Omer Butt
Thanks for response.
Any other way rather then Event Tracker ,
with sample Example or demo link ??

On Wed, Jul 19, 2017 at 3:43 PM, Bram Piot <bram.p...@gmail.com> wrote:

> Hello Omer,
>
> You can use the Tabular Tracker Capture module to achieve this, provided
> that you are collecting event rather than aggregate data (which seems to be
> the case).
>
> The module was designed by PSI in order to achieve exactly this type of
> row-based data entry, as it allows you to replicate a line register format
> in DHIS2 for the purpose of data entry. The "Add Event" button in the
> screenshot below is the equivalent of your + button.
>
> [image: Inline images 1]
>
> Bram Piot
> PSI
>
> On 19 July 2017 at 12:22, Omer Butt <omerbutt2...@gmail.com> wrote:
>
>> [image: Inline image 1]
>>
>> Aoa ,
>> Upgrade my recent problem. Hope this is much better for understanding
>> problem.
>>
>> On Plus button click New  row is created current data elements in that
>> row .
>>
>> How to Achieve this in data entry form creation in DHIS 2 .??
>>
>> Thanks .
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2

2017-07-19 Thread Omer Butt
[image: Inline image 1]

Aoa ,
Upgrade my recent problem. Hope this is much better for understanding
problem.

On Plus button click New  row is created current data elements in that row
.

How to Achieve this in data entry form creation in DHIS 2 .??

Thanks .
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2

2017-07-19 Thread Omer Butt
Assam-o-Alikum  Sir,

In DHIS-2 Software While Creating a Data Entry form I have to Create a Clone
Of some data elements that can be repeated in the Form:

Below is the Example , Kindly Explain a way to achieve this kind of
functionality in data entry form .

 

Tanks.

-Start--
---

For Example :

 

table row 1: 

 Name : Text Field ,  Name : Text Field ,  Name : Text Field ,  Name : Text
Field  : Add Button

 

On Click of button table row 2 created with these data elements again and
with delete button.

 

After Add Click :

This Will be the Result :

table row 1: 

 Name : Text Field ,  Name : Text Field ,  Name : Text Field ,  Name : Text
Field  : Add Button

table row 2: 

 Name : Text Field ,  Name : Text Field ,  Name : Text Field ,  Name : Text
Field  : Delete Button

 

After Delete Click :

new row deleted

 

.END-

 

 

 

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS 2

2017-07-19 Thread Omer Butt
Assam-o-Alikum  Sir,
In DHIS-2 Software While Creating a Data Entry form I have to Create a
Clone Of some data elements that can be repeated in the Form:
Below is the Example , Kindly Explain a way to achieve this kind of
functionality in data entry form .

Tanks.
-Start-
For Example :

table row 1:
 Name : Text Field ,  Name : Text Field ,  Name : Text Field ,  Name : Text
Field  : Add Button

On Click of button table row 2 created with these data elements again and
with delete button.

After Add Click :
This Will be the Result :
table row 1:
 Name : Text Field ,  Name : Text Field ,  Name : Text Field ,  Name : Text
Field  : Add Button
table row 2:
 Name : Text Field ,  Name : Text Field ,  Name : Text Field ,  Name : Text
Field  : Delete Button

After Delete Click :
new row deleted

.END-
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp