-
Yes, what you describe is entirely possible if you're coding in C# or VB, but it requires a moderate understanding of windows form programming, and as the previous two posters have said, you'd probably be better off accomplishing this within InfoPath, without using dialogs.
Nonetheless, here's a simple example ...
-
After a bit of experimenting I think I've found a solution!
First, save your form as its source files (from the File menu). Then close infopath and browse to the directory where you saved the files.
Open up the main schema file (probably myschema.xsd) and add this text to the end of the <xsd:schema> node at the top, along with ...
-
That solution is close, but I don't think it will work too consistently. To see what I mean:
Preview the form.
Enter "aaa" in field1. Text field's value changes to "aaa" (expected)
Enter "bbb" in field2. Text field's value remains as "aaa" (expected)
Delete contents of ...
-
The following would work, and involves no code.
Add two new fields to your form, a boolean field called shown and a text field called buttonText. In the control properties, set the button's text to be the value of buttonText. Set the default value of buttonText to be "Show" and the default of shown to be ...
-
I don't believe what you describe exists. Fields are specified as "cannot be blank" within the data source, not within the individual views.
However, there are things you can do to enforce that fields are filled in for certain views of the form. If you leave "Cannot be blank" unset for field1 in your example, ...
-
[quote user="aimin"]チェックボックスで、オンオフの場合の表示非表示は他に沢山うめこんであります。すでにそこで、混乱をまねいているのですが・・・[/quote]
もうご存知ですね。失礼致しました。
今調べてきたのですが、Booleanのフィールドをフラグにし、コントロールを表示非表示する方法もあります。オン・オフの動きといえば、Booleanをすぐ思いつくので、Booleanを使ったらいいではないかと思いましたが・・・
コメントフラグBの種類をBooleanにし、デフォルトを[(Blank)ではなく]TRUE、またはFALSEにする
ボタンの動作規則を条件なしで、動作を 「コメントフラグB = ...
-
aiminさんのもとのやり方には、だた一つの不足が入っていました。
この場合、動作規則二つでいくと、一つ目に「コメントフラグB=0」という条件を設定した方がいいです。なお、その一つ目の動作規則に、「この動作規則が完了したら規則の処理を停止する」チェックボックスをオンにしなければいけませんね。
また、ボタンにこだわっていなければ、チェックボックスを使ってフォームの部分を表示したり隠したりすることがさらに簡単です。
-
The simplest way to enter the values in the Node Path column is to click the icon at the right end of the Node Path box and select the relevant elements from the taskpane. You should often be able to avoid typing anything in manually, in case that is what you're doing.
Is dfs:myFields/d:BusinessUnitInfo perhaps a node in one of your ...
-
Yup, I really am in Japan, but I spent 16 years plus 4 summers in Morris County.
Glad to hear that you figured out what the trouble was, and your idea of using DBXL on two servers sounds like it just might work, though I have not encountered a scenario like that before.
Best of luck.
-
Unfortunately, it seems there may be no easy way to do this, though you may want to have a look at these links:
http://safari.ibmpressbooks.com/0735619522/ch04lev1sec7#ch04lev2sec21
http://safari.ibmpressbooks.com/0735619522/ch04lev1sec10
The simplest way to have a form that outputs xml with the format namespaces you want is to create a sample ...