You searched for the word(s): 2
-
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 ...
-
I have a web portal to my client's organization. The users open instance of InfoPath from this web portal. Can I open InfoPath form by sending it parameter witch will be use in the OnLoad of the form?
How can I do it?
How to send the parameter?
How to input this parameter in the OnLoad of the Form's code (use code in c#)??
-
Hi
I wrote the JScript to subtract the number of days from <12-Jan-2005>. I am getting 13/0/2005, but actual result should be 13/12/2004.
I am using InfoPath and JScript.
Please provide me the sample code in JScript that, how to subtract the no of days from the date.
Thanks & Regards
C.G.Yuvaraj
Yuvaraj
-
Hi All,
I have created a form that is connected to Access database,it works very fine and submitts the data,the problem was when I published this form over a LAN,I used regform and granted Full trust,and had the form in a shared folder on the other computer.
I run the js file to grant full trust and the form opens.
But when the user fill out the ...
-
Hi
I have a problem where i need to get a value from a textbox and write it in an external XML file.
I have to overwrite the current value of a node.
My form is already full trust.
Is there anyway to do this using jscript?
Thanks in advance
-
I have 3 web services as secondary connections that I wish to call, however I need to set the paramaters (accessed by somehow changing the queryField elements of the data connection) before querying the web service.
I can access the DOM of the secondary connection, however I cannot set the individual parameters. When viewing the doms text (by ...
-
Hi,
thanks for reply.
so I have added a reference in the project to Microsoft.mshtml.
And in my OnContextChange handler I have written:
if (e.Type == ''ContextNode'')
{
string aLoc=e.Context.nodeName;
aLoc=aLoc.Replace(''my:'', '''');
HTMLTaskPaneObject taskPane=(HTMLTaskPaneObject)thisXDocument.View.Window.TaskPanes[0];
...
-
Hi Patrick!
So you know very well my places...the next time you'll be here,I'll be your travel guide :)
Today there's our consultant so I hope I can get the correct certificate to sign the templete :)
The form I'm designing is about tracking activities for our employees who travel a lot and CSV file is required to process this kind of data. I'll ...