使用莲花公式禁用启用按钮
我有两个按钮“Button1”和“Button2”。当我单击“Button1”时,“Button1”应该不可见,“Button2”应该可见。当我单击“Button2”时,“Button2”应该不可见,而“Button1”应该可见。这意味着两个按钮的可见性将会切换。如何使用隐藏时间公式来做到这一点?
I have two buttons "Button1" and "Button2". When I clicked "Button1", "Button1" should be invisible and "Button2" should be visible.When I clicked "Button2", "Button2" should be invisible while "Button1" should be visible. Meaning there will be a switching visibility of the two buttons. How can I do this using hide-when formula?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您还没有提到按钮的位置。如果它们位于表单上,您可以在两个按钮上方创建一个隐藏字段,您可以在切换时设置其值。然后您的隐藏/何时公式可以引用此隐藏字段。
我已经有一段时间没有做这件事了。当您“切换”字段时,您需要表单刷新/重新计算它的隐藏/何时公式
You haven't mentioned where the buttons are located. If they're on a Form you can create a hidden field above the two buttons that you set the value of when you toggle. Then your Hide/When formula can reference this hidden field.
It's been a while since I've done any of this. When you "toggle" the field you need the Form to refresh/recalculate it's Hide/When formulas