-
1 - If this is working fine, what else did you have in mind? What do you need to do differently that is not supported in what you are doing now?
2 - Saved data forms are just .xml files. Your windows application just needs to treat them like any other .xml file to use them.
Greg Collins [InfoPath MVP]
InfoPath Dev
-
If there's only a couple of languages you are using, the best thing is to add multiple buttons to the form template, each in the correct language, and then add conditional formatting to hide the ones not associated with the current language.
You can use xd:preserve in the XSL file, but this is much more messy. For examples of how to do this take ...
-
Tatopitta,
The process I described above does all of those calculations for you. When you create the new 'date object', the adjustments are properly made to account for correct days of month or year, etc.
Greg Collins [InfoPath MVP]
InfoPath Dev
-
JScript does not have a function like that. You will need to write you own code for this. Please see my response from a few minutes ago to a similar question:
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=603
Greg Collins [InfoPath MVP]
InfoPath Dev
-
You need to set the namespaces for each DOM you use. InfoPath does this for you at the top of your script.js file. You can use that as an example of what you need to do to set the namespaces for your ''precallScheduled'' DOM. The namespaces must be set in order for you to effectively perform node selections on that DOM.
Greg Collins [InfoPath ...
-
You need to get the date, break it down into its component parts (year, month, date) and then subtract 30 from the date part.
Then you need to create a new date object using the year, month and date-30 components. This will create a valid date, properly adjusting all component parts for your adjustment.
Now you can break that new date back down ...
-
Will you please describe more about the setup you have, what you are doing and what is happening. I don't understand your scenario enough to understand what is happening and give an answer.
Greg Collins [InfoPath MVP]
InfoPath Dev
-
The only thing I'm aware of is the Sign() method on the SignedDataBlock object. This will open the signature dialog box for the particular signature block that you choose. The user can then look at existing signatures or add/remove them.
Look in the InfoPath help and documentation... there's not much more than this for you to use.
Greg Collins ...
-
You will need to call in to the form DOM from the task pane. You can get there by accessing: window.external.Window.XDocument from the task pane. Once you have this reference to the form's XDocument object, you can do whatever you would normally do within the form.
Greg Collins [InfoPath MVP]
InfoPath Dev
-
When an OnAfterChange event fires for a control in a repeating table/section, the eventObj for that event is already relative to the current row. So for example, if you have a data structure like this
Table
Row
DatabaseId
TextBox
CheckBox
Button
If you select the check box, you can simple use a relative XPath to get the ...