Rua Pereira Marinho, 179
Bairro de Sommerchield
Maputo
Moçambique
Phone: (+258) 214 951 45
Fax: (+258) 214 951 46
DISCLAIMER: This message is confidential and may contain privileged information. It is for use only by the people or entities to whom it is addressed. If you are not an intended recipient, you should not disclose, distribute, copy, print, rely on or otherwise make use of this message. If an addressing or transmission error has misdirected it to you we would be grateful if you would please notify the sender by return, before deleting it from your system.
there is way for developers. Don’t try this at home.
In custom form editor, view the source. Wrap the HTML contents that you want to appear as a section in a div and add a class “formSection” to it, something like:
// Stuff that makes up a section here
You should now be able to use the section drop-down that appears for section forms in data entry.
Rua Pereira Marinho, 179
Bairro de Sommerchield
Maputo
Moçambique
Phone: (+258) 214 951 45
Fax: (+258) 214 951 46
DISCLAIMER: This message is confidential and may contain privileged information. It is for use only by the people or entities to whom it is addressed. If you are not an intended recipient, you should not disclose, distribute, copy, print, rely on or otherwise make use of this message. If an addressing or transmission error has misdirected it to you we would be grateful if you would please notify the sender by return, before deleting it from your system.
On 3 April 2013 18:02, Lars Helge Øverland <larshelge@gmail.com> wrote:
Hi Paulo,
there is way for developers. Don't try this at home.
In custom form editor, view the source. Wrap the HTML contents that you want
to appear as a section in a div and add a class "formSection" to it,
something like:
<div class="formSection">
// Stuff that makes up a section here
</div>
You should now be able to use the section drop-down that appears for section
forms in data entry.
Lars
On Wed, Apr 3, 2013 at 5:24 PM, Paulo Grácio <pgracio@criticalsoftware.com> > wrote:
Hello there,
Is there a simple way to add sections or pagination to a custom form? The
goal is to avoid scroll when dealing with long forms.
Kind regards,
Paulo Grácio
Technical Manager
(+258) 822 544 603
Critical Software Mozambique
Dependable Technologies for Critical Systems
Critical Software Mozambique is a subsidiary of Critical Software, a CMMI®
Level 5 rated Company
CMMI® is registered in the USPTO by CMU
Rua Pereira Marinho, 179
Bairro de Sommerchield
Maputo
Moçambique
Phone: (+258) 214 951 45
Fax: (+258) 214 951 46
DISCLAIMER: This message is confidential and may contain privileged
information. It is for use only by the people or entities to whom it is
addressed. If you are not an intended recipient, you should not disclose,
distribute, copy, print, rely on or otherwise make use of this message. If
an addressing or transmission error has misdirected it to you we would be
grateful if you would please notify the sender by return, before deleting it
from your system.
there is way for developers. Don’t try this at home.
In custom form editor, view the source. Wrap the HTML contents that you want to appear as a section in a div and add a class “formSection” to it, something like:
// Stuff that makes up a section here
You should now be able to use the section drop-down that appears for section forms in data entry.
Rua Pereira Marinho, 179
Bairro de Sommerchield
Maputo
Moçambique
Phone: (+258) 214 951 45
Fax: (+258) 214 951 46
DISCLAIMER: This message is confidential and may contain privileged information. It is for use only by the people or entities to whom it is addressed. If you are not an intended recipient, you should not disclose, distribute, copy, print, rely on or otherwise make use of this message. If an addressing or transmission error has misdirected it to you we would be grateful if you would please notify the sender by return, before deleting it from your system.
Sent: quarta-feira, 3 de Abril de 2013 18:03 To: Paulo Grácio Cc:dhis2-users@lists.launchpad.net Subject: Re: [Dhis2-users] Custom forms - Pagination/Section
Hi Paulo,
there is way for developers. Don’t try this at home.
In custom form editor, view the source. Wrap the HTML contents that you want to appear as a section in a div and add a class “formSection” to it, something like:
// Stuff that makes up a section here
You should now be able to use the section drop-down that appears for section forms in data entry.
Rua Pereira Marinho, 179
Bairro de Sommerchield
Maputo
Moçambique
Phone: (+258) 214 951 45
Fax: (+258) 214 951 46
DISCLAIMER: This message is confidential and may contain privileged information. It is for use only by the people or entities to whom it is addressed. If you are not an intended recipient, you should not disclose, distribute, copy, print, rely on or otherwise make use of this message. If an addressing or transmission error has misdirected it to you we would be grateful if you would please notify the sender by return, before deleting it from your system.
there is way for developers. Don’t try this at home.
In custom form editor, view the source. Wrap the HTML contents that you want to appear as a section in a div and add a class “formSection” to it, something like:
// Stuff that makes up a section here
You should now be able to use the section drop-down that appears for section forms in data entry.
Rua Pereira Marinho, 179
Bairro de Sommerchield
Maputo
Moçambique
Phone: (+258) 214 951 45
Fax: (+258) 214 951 46
DISCLAIMER: This message is confidential and may contain privileged information. It is for use only by the people or entities to whom it is addressed. If you are not an intended recipient, you should not disclose, distribute, copy, print, rely on or otherwise make use of this message. If an addressing or transmission error has misdirected it to you we would be grateful if you would please notify the sender by return, before deleting it from your system.
I tested on the demo and it worked well… Note that I have only tested on version 2.11. You can view a full example from “EPI stock” data set at the demo now.
Sent: quarta-feira, 3 de Abril de 2013 18:03 To: Paulo Grácio Cc:dhis2-users@lists.launchpad.net Subject: Re: [Dhis2-users] Custom forms - Pagination/Section
Hi Paulo,
there is way for developers. Don’t try this at home.
In custom form editor, view the source. Wrap the HTML contents that you want to appear as a section in a div and add a class “formSection” to it, something like:
// Stuff that makes up a section here
You should now be able to use the section drop-down that appears for section forms in data entry.
Rua Pereira Marinho, 179
Bairro de Sommerchield
Maputo
Moçambique
Phone: (+258) 214 951 45
Fax: (+258) 214 951 46
DISCLAIMER: This message is confidential and may contain privileged information. It is for use only by the people or entities to whom it is addressed. If you are not an intended recipient, you should not disclose, distribute, copy, print, rely on or otherwise make use of this message. If an addressing or transmission error has misdirected it to you we would be grateful if you would please notify the sender by return, before deleting it from your system.
From: Lars Helge Øverland [mailto:larshelge@gmail.com]
Sent: segunda-feira, 8 de Abril de 2013 17:02
To: Paulo Grácio
Cc: dhis2-users@lists.launchpad.net
Subject: Re: [Dhis2-users] Custom forms - Pagination/Section
Hi Paolo,
I tested on the demo and it worked well.. Note that I have only tested on
version 2.11. You can view a full example from "EPI stock" data set at the
demo now.