You searched for the word(s): 12
-
Hello again,
Thank you :-)
~W
-
Hi Hilary,
It would appear the following lines of code successfully reset my drop-down list box; consequently, you may disregard my last forum post:
XPathNavigator vehicleType = this.MainDataSource.CreateNavigator().SelectSingleNode("//my:myFields/my:CrewRotationPreview/my:CRD_TransportVehicleType", ...
-
Attached is my problem. I need to be able to have the checkboxes be required if a user adds a new section. The current method is not allowing that because of the way the formula works. If anyone has any solutions, I would gladly appreciate it. I am kind of clueless of what to do to get around this. So, please, anyone have anything I would ...
-
vehicleType.SetValue("");
Empty double quotes. Or you could use String.Empty.
-
Hi Hilary,
No, I do not want to create/clear the options a user can select from the drop down.
With regards to the suggestion in your first paragraph, how would I set the value to blank? The code I plan to use to programmatically reset the list box control is listed below, but I don't know how to complete ...
-
Looks like your code was cut off.
-
Generally, the "Select" display is if the value of the field is blank. You don't need code for this - you can use rules to set the field bound to the drop down control to blank. If you need to do it programatically, create an XPathNavigator for the node, and use SetValue to set the nav's value to blank.
The thread you linked to ...
-
Forum Community,
I'm trying to reset/clear a drop-down list box control using C#. Through some research, I was able to locate a related post (http://www.infopathdev.com/forums/t/19017.aspx), but I'm thinking there has to be a more definitive and best-practices procedure for resetting the control using C# so that it displays ...
-
Hi there Leooffneym.
Were you able to figure out why it is not working?
Thank you,
Ynygma
-
Hi:
From Office Online:
Publishing a form template is not the same as saving a form template. When a form template is saved, you are saving it to preserve your work, just as you do when you save a file on your computer. The publishing process modifies the form template for distribution by adding the publish location and processing instructions ...