-
I am wanting to have a text box display different text based on what is "chosen" in a drop down list.
For instance if some one chooses "Active" from a drop down box I want "per month" displayed in a text box beneath it. However if someone chooses "Inactive" I was "per year" displayed ...
-
Thank you very much. That worked perfectly. I need to spend some time and play with all these different functions.
-
If your dates are in the InfoPath standard format, you can use the text function substring-before. The date prints out yyyy-mm-dd in a text box. The substring-before function will output all of the text before a certain character. The way to use it:
substring-before(DateField, "-"). DateField is the field that ...
-
Hello, and welcome! First change your text box to contain text rather than a date, since we will only have part of the date in there.
Right click your text box and select properties
For Data Type, select Text(string)
Select the formula button next to the Value box in the Default Value section
Select Insert Function
Select ...
-
I am very new to everything XML and InfoPath. I have a need to have a text box which, by default, will automatically displays only the current year, not the full date. I have very limited knowledge of how to use the Xpath feature when setting the default formula. The text box properties are currently to: Data type: Date.
I hope ...
-
Try the following:
Change the security level on the InfoPath template
Go to Tools -> Form Options -> Security and Trust
Clear the checkbox “Automatically determine security level(recomended)”
Select the radio button “Full trust”
Hope it works
-
Check out this article on the xsi:nil attribute. That may be what was causing your difficulties.
-
It was a double.
i even tried to change it to string and then use .setvalue
-
Out of curiousity, what was the data type of the field you were trying to set the value on? .SetValue should take a string as a parameter....
-
Need help in using the the XDocument.DataAdapters using VB.net
Tried the following but keep getting errors.
Dim oEmail = XDocument
Dim xDoc = XDocument
oEmail = xDoc.DataAdapters("Email Submit")
The error I get is "Object reference not set to an instance of an object."
I do have a data connection called Email ...