-
I think you mix things up there.
Okay again,
first you have a paramter from your active form which you want to pass to your second solution for example: var parameterTopass = XDocument.DOM.selectSingleNode("my:myFields/my:ID").text; the xPath should point to the drop down list from your picture (on the left ...
-
Hi you are on the right track.
First thing to try is replace ("\C:\\Temp\\Salary.xsn") with ("C:\\Temp\\Salary.xsn"). I am not sure if your path is incorrect but for me it works without the firs "\".
var getid = SalarySolution.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:personal/@id").text;
Yes ...
-
[quote]Originally posted by nukkumatti
HI,
I guess that is all you need to get an understanding of what to do.
var secondSolution = Application.XDocuments.NewFromSolution(''path where your xsn is stored'');
var customer = secondSolution.DOM.selectSingleNode(''my:myFields/my:Main/my:CustomerName'');
//here you can also pass values from your ...
-
Hi,
unfourtunately it is not possible to open a file which is attached to an infopath form do some changes and save it back.
An idea would be to have a custom button on your form which allows you to browse your dircretory to select a file you want to attached.
Store the file path in a textbox control in you form, like this you can then use copy ...
-
Hi Michael,
just an idea. I would may be name the button ''Task Done'' or something. Then double click the button and click the ''Edit Code''
button. Now use custom code to check if all your required fields are filled out correctly (e.g. field1 is a text box for which you want to test if it is filled or ...
-
Hi and welcome,
I would suggest that you use the search functionality of this forum on the right upper corner. Search for eMail or mail and you'll find a bunch of answers to your question.
Some of the things you can achive even without writing a single line of code and for all the rest you should find snippets in each possible language here. If ...
-
If you want to get a useful answer you have to ask meaningful questions.
But yes you are right as I am using VS 2003 I never faced that problem.
-
Yes, before publishing your form go to Tools-Form Options-Security-Set Your From to Full Trust- and on the bottom select Sign this form and select your certificate. Now you can publish your form. Once the users want to open the form the first time they need to install the certificate once. from then on they can open all your froms signed with this ...
-
Yes this is possible. Usually you have a default value set to your drop down list, like Select... or it is just blank.
Now select properties from your ddl and then select data validation. click add and then select from the first dropdown your ddl (e.g. field1) and in the second is blank (depending on what your default of the ddl is). You can also ...
-
You have to use conditional formating for each control you want to disable or hide (or set textboxes to read only mode, but this isn't easily changeable afterwards any more.) So I would suggest that you really use conditional formatting for your controls or sections.
One way you could do this is that in your onload event you set a value to a ...