FAQ: Difference between revisions

75 bytes added ,  27 December 2016
m
no edit summary
mNo edit summary
mNo edit summary
Line 23: Line 23:


=== Can the value of one field affect the visibility of other fields when creating or editing an entry? ===
=== Can the value of one field affect the visibility of other fields when creating or editing an entry? ===
'''Yes''', if you have a field with choices (Checkbox, Single-choice list, Multiple-choice list, Radio buttons, Checkboxes), you can enable dependencies based on the choice. The choice field is called the '''''gating''''' field, and fields that are dependent on it are called '''''dependent''''' fields.
'''Yes''', if you have a field with choices (Checkbox, Single-choice list, Multiple-choice list, Radio buttons, Checkboxes), you can enable dependencies based on the choice(s). The choice field is called the '''''gating''''' field, and fields that are dependent on it are called '''''dependent''''' fields.


To enable dependencies, do the following in the Library Edit screen:
To enable dependencies, do the following in the Library Edit screen:
# Create a gating field with choice values ('''Items''').<br/>Example: Gender, with items '''M''' and '''F'''
# Create a gating field with choice values ('''Items''').<br/>Example: Gender, with items '''Male''' and '''Female'''
# Add a dependent field, and select '''''Dependencies of the field'''''; this brings up the '''''Dependencies List card'''''.
# Add a dependent field, and select '''''Dependencies of the field'''''; this brings up the '''''Dependencies List card'''''.
# Press the blue plus ('''<big>+</big>''') button to add a dependency; this brings up the '''Add a dependency''' card.
# Press the blue plus ('''<big>+</big>''') button to add a dependency; this brings up the '''''Add a dependency''''' card.
# Select the field upon which to be dependent and press the '''''OK''''' button; this will bring up the '''Create dependency''' card.
# Select the field upon which to be dependent and press the '''''OK''''' button; this will bring up the '''''Create dependency''''' card.
# Choose whether the dependency is only when editing (the default) or also when viewing an entry.
# Choose whether the dependency is only when editing an entry (the default) or also when viewing an entry.
# Then choose the value(s) of the gating field (the Items) that will cause the dependent field to be visible and press the checkmark in the upper-left corner of the card.
# Then choose the value(s) of the gating field (the Items) that will cause the dependent field to be visible (perhaps '''Female''') and press the checkmark in the upper-left corner of the card.


Now, when the corresponding choice(s) is|are selected, the previously hidden dependent field(s) become visible.
Now, when the corresponding choice(s) is|are selected ('''Female''', perhaps), the previously hidden dependent field(s) become visible.


=== Can I create relationships between libraries? ===
=== Can I create relationships between libraries? ===