Instructions

android

Introduction

Creating a project

Form Builder

Adding a Form
          Key Field
          Title

Text Fields
          Plain

          Numeric
          Date
          Time
          Drop-Down
          Radio 
            Check Boxes
          
Media Fields
           Location

           Photo
           Video
           Audio
           barcode

Validation
           Text
           RegEx   
           Double Entry

Form Logic
           Jumps


Linking Forms
           Hierarchy

           Branching

android


Installing EpiCollect+
Loading a Project


Collecting Data

Text Fields
          Plain

          Numeric
          Date
          Time
          Drop-Down
          Radio
             Check Boxes

Media Fields
           Location

           Photo
           Video
           Audio
           barcode

Saving Data

List/Sync data

Maps

Backing up data

Remote Data

Settings

android


Project Website

Map View

Multiple Forms

Downloading Data

android


Introduction

EpiCollect Markup

The Document
           <model>

The Form
           <form>


Text Fields
           <input>

          <select>
           <select1>
          <radio>
Setting defaults

Media Fields
           <location>
           <photo>
           <video>
           <audio>
           <barcode>

Defining keys

Form Logic
           Jumps


Linking Forms
           Hierarchy

           Branching
  
Validating



Linking Forms - Branching

 

There may be cases when data you wish to collect within a form does not fall into the hierarchical structure previously described. We also provide another method of adding flexibility that we describe as ‘branch forms’. 

Briefly, a branch form is one that is not within the overall hierarchy, but can be linked to a form at some level in the hierarchy, and can be completed none, one or more times. 

As an example, within the teacher form in our demo project, we may wish to collect data on each teacher's absences during the year due to sickness. 

In this case we would have a question on the teacher form asking the number of episodes of absence due to sickness. Some teachers may answer ‘none’ and some may answer 1, 2, 3 etc.

Branch forms allow us to define a new form (in this case about sickness (form D)), outside the hierarchical structure, that appears once or more times in response to a the answer in another form (as in the following figure).


 

branch

 

Defining a branch form using the form builder

 

Within the demo, when viewing the Teacher Form, expand the 'Links with other forms' section from the left hand side of the form builder and drag a 'Branch Form' onto the form, following the 'What is the name of the teacher?' question, as in the following screenshot:

Branch 1

The branch form point has been inserted and within the Field properties, we must fill in:

Label: This will be the question the user sees at the point the branch form is reached.

ID: This is the name of the branch form.

Within the 'Advanced options' the option to 'Edit branch form' is given. To add our branch form questions we click this and the following screen will appear:

Branch2

In this case, we choose to select 'NO, I do not have a unique key...' which will autogenerate one for us:

Clicking OK, takes us to the Branch form (see below screenshot).

You will notice that the Key field from the teacher form (ie 'What is the name of the teacher?') has automatically been inserted in the branch form and indicated with an arrow - This is the Key which will link the sickness forms to a specific teacher entry.

We now add enter two more fields, a date field requesting 'start date of absence' and a numeric field requesting 'how many days were you absent?' as in the following screenshot:

branch 3

After selecting 'Save Project' we are ready to capture data on phones as in the following figure:


9_location

 

The sickness branch form is triggered from within the Teacher form after the name of the teacher is entered. The sickness form can be filled in none, one or more times and the number of branch entries is updated within the main form. Once complete, the rest of the teacher form is completed as normal.

 

We will now move on to the section describing loading a project on your android device

Next | Loading a project