-
You can put the optional section inside a regular section and hide the regular section.
-
How's this?
http://www.infopathdev.com/blogs/jimmy/archive/2009/08/05/a-mutually-exclusive-radio-button-in-a-repeating-section.aspx
If the list will always have the same values, you might want to consider using a radio button control.
-
You could use a separate view for this. Just have a field to show the question and Yes and No buttons. When the user clicks one, you can set a field to Yes or No to note the response, and switch back to the previous view.
-
Excellent! Glad to hear you figured it out.
-
Could you post the code you're using to copy the data over?
-
Please have a look at this post:
http://www.infopathdev.com/forums/p/2013/41127.aspx#41127
-
Most likely you will need to add code to add an xsi:nil="true" attribute to your my:DateTo nodes if they are blank.
-
It is possible to use a single data connection for several different QueryDB queries, but this makes form design considerably more challenging because
The secondary data connection's data source will be based off the query you used when initially setting up the data connection.
The contents of the data source will change every ...
-
Where is the value coming from? Is it manually entered by a user? Copied from somewhere? You should most likely be able to set up a rule with a set of conditions to overwrite the field's own value or (probably better) set an other field's value with the number of KiB, MiB, GiB, TiB, etc.
-
Have you tried passing the this variable as an XmlFormHostItem to class1? That should contain everything you need.