Hi,
I am trying to show a message in a textbox on a InfoPath from (2003) using vbs. Following is my code
msg = "The following fields are mandatory: " & VbCrLf
msg = msg & "Field 1" & VbCrLf
msg = msg & "Field 2"
XDocument.DOM.selectSingleNode("...").Text = msg
The output that I get is : The following fields are mandatory: Field 1 Field 2
But I want the output to be: The following fields are mandatory:
Field 1
Field 2
I have tried looking for posts with similar questions but was unable to find any, maybe I missed something.
I would really appreciate any help
Thanks in advance!