FAQ: Difference between revisions

628 bytes added ,  27 December 2016
m
no edit summary
mNo edit summary
mNo edit summary
Line 22: Line 22:
'''[[BELOW NOT YET UPDATED]]'''
'''[[BELOW NOT YET UPDATED]]'''


=== Can the value of one field affect the visibility of the 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 multiple choices (Single-choice list, Multiple-choice list, Radio buttons, Checkboxes), you can enable dependencies based on the multiple choice.<br />
'''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.
To enable dependencies, do the following:
 
# Create a field with a multiple choice value (example: Gender, with the values, M|F)
To enable dependencies, do the following in the Library Edit screen:
# Create another field, select "Dependencies of the field" followed by ''Add a dependency''
# Create a gating field with choice values ('''Items''').<br/>Example: Gender, with items '''M''' and '''F'''
# Select the visibility of the field based on which multiple choice value is selected. (example: M)
# Add a dependent field, and select '''''Dependencies of the field'''''; this brings up the '''''Dependencies List card'''''.
Now when the corresponding multiple choice is selected, the previously hidden dependent fields become visible.
# 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.
# Choose whether the dependency is only when editing (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.
 
Now, when the corresponding choice(s) is|are selected, the previously hidden dependent field(s) become visible.


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