显示是否在 docassemble 中的强制性问题和非功能性继续按钮
show if on manatory question in docassemble and non-functional continue button
我有一个面试,只有 2 个必答题。在第一个强制性问题(即用户实际上无法继续)之后,我得到了一个非功能性的继续按钮,但只有当该字段保持隐藏时。我认为这与 show if
有关。有什么建议么?据我所知,按钮上的 javascript 在这两种情况下完全相同。
是否有简单的修复方法,我可以/应该从这个错误中了解 docassemble
什么?
.yml 文件的相关部分:
---
mandatory: True
progress: 90
question: |
Thank you for completing this survey.
fields:
- We are always trying to get better, and we're sorry we couldn't help you. Please tell us what you were hoping we could assist you with.
input type: area
required: False
show if:
code: |
not is_eligible
---
mandatory: True
question: Thank you for your interest!
buttons:
- Exit: exit
- Restart: restart
progress: 100
---
在 1.2.42 或更高版本中,这应该有效。
我有一个面试,只有 2 个必答题。在第一个强制性问题(即用户实际上无法继续)之后,我得到了一个非功能性的继续按钮,但只有当该字段保持隐藏时。我认为这与 show if
有关。有什么建议么?据我所知,按钮上的 javascript 在这两种情况下完全相同。
是否有简单的修复方法,我可以/应该从这个错误中了解 docassemble
什么?
.yml 文件的相关部分:
---
mandatory: True
progress: 90
question: |
Thank you for completing this survey.
fields:
- We are always trying to get better, and we're sorry we couldn't help you. Please tell us what you were hoping we could assist you with.
input type: area
required: False
show if:
code: |
not is_eligible
---
mandatory: True
question: Thank you for your interest!
buttons:
- Exit: exit
- Restart: restart
progress: 100
---
在 1.2.42 或更高版本中,这应该有效。