-
Hi Roy Lawrence,
You need to use the code for this, because you need to prepare an XML for the new form to be opened, and you need open with that XML.
If you want to open a new blank form you can use rules for that.
Hope this Helps!
Agni
InfoPath Dev India
-
Hi Hade,
Welcome to the forum!
To send form as an email you need to add a Email submit dataconnection.
To add an email dataconnection go to
Tools->dataconnection->SubmitData->An E-Mail Message
In the attachment type ''Form'', then your entire form will be sent as an email.
There are lot of posts which speak about email dataconnection, ...
-
Hi Thierry,
I dont think that we can have form fields value in the ''Print view header''/''Print view footer''. I have gone through Infopath sdk and googled but din't find any info regarding this.
http://office.microsoft.com/en-us/assistance/HA011227811033.aspx
Above link has some info about it, but doesnot specify about using form values in the ...
-
[Main-q:username] is not equal to [Secondary-d:username], display ''wrong'' in a dialog box.
is my second condition, that is the reason it is giving you ''wrong'' message. [Main-q:username] is not equal to atleat one [Secondary-d:username] so the condition is returning true as output, so your first rule executes.
When you are creating the rule, ...
-
Hi jeanpaul, Welcome to the Forum!
Yes, Other way to do this is to delete the node by writing some code. To delete the node
1. Select the node.
2. Select the parent node.
3. Use Remove child method and delete the node.
Agni
InfoPath Dev India
-
I am sorry smaur, i made a mistake in my code, here is the actual code that will work for
DataDOMEvent.Source.selectSingleNode(''@CommentBy'').text
Agni
InfoPath Dev India
-
Hi Sunil,
Ok you have explained me clearly this time, thanks for that.
Script file of that form has all of the you need, to open an outlook window with attachment.
Just double click on the button and click on ''Edit Form code'' in the button dialog, you have all the written there.
Once you open the code create method is the one that you need to ...
-
Where do you want to enter the email, Is it in the email dialog that appears when you click on submit?
If this is correct you cannot type on this dialog, because this dialog belongs Outlook which is out of InfoPath.
Agni
InfoPath Dev India
-
Hi tgo,
You can send your total form xml as a string to Webservice. When you are taking a connection to the webservice method, For the variable which accepts xml just point it to the root node of the form xml(main Dom).
Agni
InfoPath Dev India
-
Hi smaur,
My guess is you are having OnBeforeChange on ''lkpComments'' node
Here instead of using full xpath you just need to use ''@CommentBy'' xpath on DataDOMEvent.Source node
XDocument.DOM.selectSingleNode(DataDOMEvent.Source, ''@CommentBy'').text
Agni
InfoPath Dev India