我有一个面试,只有两个必答题。在第一个强制问题(即用户实际上不能继续)之后,我得到了一个不起作用的continue按钮,但只有当该字段保持隐藏时才会出现。我猜这和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
---发布于 2021-03-14 06:08:20
在版本1.2.42或更高版本中,这应该可以工作。
https://stackoverflow.com/questions/66618339
复制相似问题