Field Dependencies[编辑]
If you have a field with choices (Checkbox (Boolean), Radio buttons, Checkboxes, Single-choice list, Multiple-choice list), you can enable dependencies of other fields based on the choice(s). The choice field is called the master field, and fields that are dependent on it are called dependent fields.
Visibility dependencies[编辑]
To make the visibility of a field dependent upon the values of a master field, do the following in the Library Edit screen:
Create a master field with choice values (items) (or a Checkbox (Boolean) field).
Example: Gender, with items Male and Female
Add a dependent field, and select Dependencies of the field; this brings up the Dependencies list card.
Press the blue plus (+) 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 an entry (the default) or also when viewing an entry.
Then choose the value(s) (the items) of the master field that will cause the dependent field to be visible (say, Female) and press the checkmark in the upper-left corner of the card.
Now, when the corresponding choice(s) is|are selected (Female, perhaps), the previously hidden dependent field(s) become visible.
Content dependencies[编辑]
The items (or choices or content) of the following types of fields can vary depending on other fields: Radio buttons, Checkboxes, Single-choice list, & Multiple-choice list.
When you create a content dependency, you set, for each possible value of the master field, what items (or choices) of the dependent field will be available for selection.
To make the items of a choice field dependent upon the values of a master field, do the following in the Library Edit screen:
Create a master field with choice values (items) (or a Checkbox (Boolean) field).
Example: Gender, with items Male and Female
Add a dependent field, and select Dependencies of the field; this brings up the Dependencies list card.
Press the blue plus (+) 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 an entry (the default) or also when viewing an entry.
Then choose the item(s) of the dependent field that will cause the dependent field to be visible (perhaps Female) and press the checkmark in the upper-left corner of the card.
Then choose the value(s) of the master field that will cause the dependent field item to be visible (perhaps Female), select the value to set for that item, and press the checkmark in the upper-left corner of the card.
分类:How
- 前言简介
- 技巧经验
- 实现自动序列号
- 使用工具来转换成csv文件
- 如何制作和导出模板组合
- 实例资源
- js字段实例
- 根据身份证取出生日期、性别、年龄
- 自动标记状态,到期自动标记过期,可屏蔽过期以及聚合计算显示
- 根据出生日期计算年龄
- 人民币小写数字金额转大写
- 倒计时天数,实现倒计时纪念日等功能显示
- 取指定时间是周几的4种方法
- 自动填写年份、月份
- 只显示计算公式而不显示计算结果的办法
- 根据多个已选的员工人数,计算总工资
- 计算显示每年、每月的总工资实例
- 实现完全性的跨库计算自定义公式
- 触发器实例
- 新建或编辑条目后,更改条目内容
- 计算字段范例
- 计算星期几实例(3.8.5版本及以上)
- 计算星期几实例(3.8.5版本以下)
- 计算第几周
- 实现单条数据的百分比形式(并且控制小数点为2位)
- 自动填充实例
- js套用方法外壳,实现网站数据源自动录入内容
- js代码实例
- 动作实例
- 实例将网络数据写入库中
- js函数运用实例
- 创建一个新的条目记录
- 查询库内容
- 数据源实例
- Js套用方法外壳,实现网站数据源自动录入内容
- 其它实例
- 字符串值的控制
- 资料知识
- 表格与ME库关系
- ME库电子日历使用一帖通
- ME库CSV应用一帖通
- 新手入门
- 新手入门教程
- 常见问题集合
- 官方资料(中文版)
- 计算字段
- JavaScript字段
- 链接到条目字段
- 脚本
- 纪念品JavaScript库
- 动作
- 数据源
- 触发器
- 触发器示例
- 旧档
- 计算字段命令,FUNCTION功能
- JavaScript的字段
- javascript常用函数及功能
- 前言介绍
- 经验技巧
- 官方资料(英文版)
- Memento Database
- Glossary
- Memento Wiki
- Useful links
- Releases
- User Interface
- Tutorial:Simple To Do List
- Tutorial:Simple To Do List Enhancements
- Libraries & templates
- Library
- Library Template
- Library Edit screen
- Library Groups
- How:Add a Library
- Libraries List screen
- Fields, pages, & subheaders
- Overviews
- Field
- Field Edit card
- Field Role
- Field Type
- Page
- Specs
- Techniques, Tips, How
- Tips:Using JavaScript in Memento
- How:Field Dependencies
- 关于附件
- 交流互助
- 贡献人员