问题w。 JScript中 [英] problems w. jscript

查看:84
本文介绍了问题w。 JScript中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个InfoPath表单,用户将在其中选择一个或多个复选框。根据选中的复选框,他们必须完成特定部分(例如,如果复选框1必须完成第1,2和4部分 - 复选框2必须完成1,4和7。

使用规则和条件格式化太难了......特别是如果用户检查然后取消选中框,那么我想通过脚本完成此操作。

我之前没有尝试过这个(我不是开发人员),但我我试图使用jscript。为了让我的脚湿透,我尝试将以下内容添加到按钮中,以便当用户(AR)检查一个复选框时,将检查另一个复选框(AnchorMO)。显然这不是行为我需要我的表单(我需要弄清楚如何设置实例),但我想从简单的东西开始:


I am building an InfoPath form where users will select one or more checkboxes.  Based on the checkboxes selected, they will have to complete specific sections (e.g. if checkbox 1 must complete sections 1,2, and 4--checkbox 2 must complete 1,4, and 7.

Using rules and conditional formatting is too ugly...specifically if a user checks and then unchecks boxes, so I would like to accomplish this through scripting.

I've not attempted this before (I'm no developer), but I am trying to use jscript.  Just to get my feet wet, I tried adding the following to a button so that when one checkbox is checked by the user (AR), another checkbox would be checked (AnchorMO).  Obviously this is not the behavior I need for my form (I need to figure out how to set instances), but I wanted to start with something simple:







if this 。AR == true set(this.AnchorMO == true)
if (this.AR == trueset (this.AnchorMO == true) 

推荐答案

我在播放媒体播放器时遇到问题,我安装了javascript但它根本不会在媒体播放器上播放任何内容。我需要你的帮助,以便我可以观看视频。
I'm having trouble getting my media player to play, I have javascript installed, but  it wom't play anything on media player at all. I need your help to get it where I can watch videos.


这篇关于问题w。 JScript中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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