Add Item Attributes to the Design Pane: Difference between revisions

From IMSMA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 38: Line 38:
|-
|-
| System / String
| System / String
| N/A
| No
| Land ID
| Land ID
| Local ID Generator
| Local ID Generator
Line 44: Line 44:
|-
|-
| System / String
| System / String
| N/A
| No
| Land Name
| Land Name
| Text Field
| Text Field
Line 50: Line 50:
|-
|-
| System / String
| System / String
| N/A
| No
| Major Impacts
| Major Impacts
| Text Area
| Text Area
Line 56: Line 56:
|-
|-
| CDF / Text Field
| CDF / Text Field
| Text Field
| Yes
| Informant Name
| Informant Name
| Text Field
| Text Field
Line 62: Line 62:
|-
|-
| CDF / Text Field
| CDF / Text Field
| Text Area
| Yes
| Informant Address
| Informant Address
| Text Area
| Text Area
Line 68: Line 68:
|-
|-
| Option / Single Select
| Option / Single Select
| Radio buttons
| Yes
| Land Status
| Land Status
| Radio button
| Radio button
Line 74: Line 74:
|-
|-
| Option / Single Select
| Option / Single Select
| Combo box
| Yes
| Status changed reason
| Status changed reason
| Combo box
| Combo box
| [[Image:xxx.png]]
| [[Image:xxx.png]]
|-
|-
| CDF / Text Field
| CDF / Single Select
| Text Field
| Yes
| Informant Name
| Land User
| Text Field
| Radio button
| [[Image:Textbox CDF.png]]
| [[Image:rb_CDF.png]]
|-
|-
| CDF / Text Field
| CDF / Single Select
| Text Area
| Yes
| Informant Address
| Informant Address
| Text Area
| Combo box
| [[Image:Textarea CDF.png]]
| [[Image:cb_CDF.png]]
 
 
|}
|}



Revision as of 09:29, 27 May 2014

After you have specified the page setup for the data entry form template, you can begin adding item attributes/fields. To add attributes to the data entry form in the Data Entry Form Template Designer window:

  1. Expand the item folder that contains the attribute by double-clicking the folder name in the Elements pane.
  2. Expand the data category that contains the item attribute.
  3. Click the name of the attribute you would like to add to the data entry form.
  4. While holding down the left mouse button, drag the attribute to the form design pane.
  5. When the item attribute is in the desired position, release the mouse button.

Template:Important

    The element and its label are placed in the form design pane.
You can also add all item attributes to the data entry form by dragging the folder of the item to the design pane.
  1. Repeat the above steps to add additional item attributes to the data entry form.

When item attributes are dragged to the design pane, they typically include both a text label and the data entry field. The data entry field and label should be kept together to ensure the integrity of the data. Although you can change the label text, be sure to provide a meaningful label so that it is clear to users what data they should enter in the field.

Location Name Field
Location Name Field

Depending on which data type the item attribute is and on the settings in the Data Inventory Manager the control / widget is different.

Data type in DIM Setting in DIM Example Widget Control / widget
System / String No Land ID Local ID Generator
System / String No Land Name Text Field
System / String No Major Impacts Text Area
CDF / Text Field Yes Informant Name Text Field File:Textbox CDF.png
CDF / Text Field Yes Informant Address Text Area File:Textarea CDF.png
Option / Single Select Yes Land Status Radio button
Option / Single Select Yes Status changed reason Combo box File:Xxx.png
CDF / Single Select Yes Land User Radio button File:Rb CDF.png
CDF / Single Select Yes Informant Address Combo box File:Cb CDF.png

In addition to the text label and data entry field, certain item attributes such as date fields, country structure, and geospatial data will also include an icon. You should keep these elements together to ensure the integrity of the data. If any one of the elements is removed, you should remove all related elements.

Elements
Elements

Elements

As you add and remove item attributes to the form design pane, the Logical Tree pane is updated.

{{#switch:|subgroup|child=|none=|#default=

{{#if:|<th scope="col" style="border-left:2px solid #fdfdfd;width:100%;|}}{{#if:|{{#if:Customising IMSMANG|}}}}{{#if:{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:add item attributes to the design pane

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|{{#if:Customising IMSMANG|}}{{#if:|

{{{imageleft}}}

}}{{#if: Design Data Entry Forms| Design Data Entry Forms<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=

|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:add item attributes to the design pane

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}{{#if:|

{{{image}}}

}}}}{{#if:|{{#if:Customising IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:add item attributes to the design pane

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}{{#if:|{{{group2}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list2}}}

}}{{#if:|{{#if:Customising IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:add item attributes to the design pane

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}{{#if:|{{{group3}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list3}}}

}}{{#if:|{{#if:|{{{group4}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list4}}}

}}{{#if:|{{#if:|{{{group5}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list5}}}

}}{{#if:|{{#if:|{{{group6}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list6}}}

}}{{#if:|{{#if:|{{{group7}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list7}}}

}}{{#if:|{{#if:|{{{group8}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list8}}}

}}{{#if:|{{#if:|{{{group9}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list9}}}

}}{{#if:|{{#if:|{{{group10}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list10}}}

}}{{#if:|{{#if:|{{{group11}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list11}}}

}}{{#if:|{{#if:|{{{group12}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list12}}}

}}{{#if:|{{#if:|{{{group13}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list13}}}

}}{{#if:|{{#if:|{{{group14}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list14}}}

}}{{#if:|{{#if:|{{{group15}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list15}}}

}}{{#if:|{{#if:|{{{group16}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list16}}}

}}{{#if:|{{#if:|{{{group17}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list17}}}

}}{{#if:|{{#if:|{{{group18}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list18}}}

}}{{#if:|{{#if:|{{{group19}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list19}}}

}}{{#if:|{{#if:|{{{group20}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list20}}}

}}{{#if:|{{#if:Customising IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:add item attributes to the design pane

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}

{{{below}}}

}}{{#switch:|subgroup|child=

|none=|#default=}}{{#ifeq:|Template|{{#ifeq:|child||{{#ifeq:|subgroup||{{#switch:add item attributes to the design pane
|doc
|sandbox
|testcases =
|#default = {{#switch:hlist
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}