点击按钮后禁用部分? [英] Disable a section upon button click?

查看:41
本文介绍了点击按钮后禁用部分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法通过点击按钮来禁用某个部分?当我尝试在按钮上添加规则时没有格式化选项。

Is there any way to disable a section by clicking a button? There is no formatting option when I try to add a rule on a button.

谢谢

推荐答案

您好samanthamirae,

Hi samanthamirae,

我们需要一个字段来指示是否显示/隐藏InfoPath中的部分。按照步骤隐藏/显示基于单击InfoPath中按钮的部分:

We need a field to indicate whether show/hide the section in InfoPath. Follow the steps to hide/show a section based on clicking the button in InfoPath:

1。创建一个名为"HideShowButtonText"的字段并编辑该属性并将默认值设置为"显示"。

1. Create a field named "HideShowButtonText" and edit the property and set the default value is "Show".




2。添加一个按钮,单击"控制工具"选项卡中的"规则":

2. Add a button, click Rules in the Control Tools tab:

3。添加两条规则如下:

3. Add two rules as below:

祝你好运,

Grace Wang

Grace Wang


这篇关于点击按钮后禁用部分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆