Use our Google Custom Search for best site search results.
Search
-
Hi, thanks for the reply.
I'm not using MSI though, i'm using a jscript generated by regform.
The form templates are stored on a server in a shared folder called C:\forms. Then i publish to C:\forms\published and then register the forms using regform to generate a jscript file and make the forms fully trusted. I could not use MSI because ...
-
Hi,
I am havin some difficulties with publishing some infopath forms to a shared folder on a network. Since i execute the XDocument.PrintOut() command from in the code, the form needs to be fully trusted, so I used the regform tool to do this and create a .js script (don't have visual studio .net to do a .msi). Now after registering the ...
-
Ok i think i've solved my own problem (haven't thoroughly tested it but it seems to work so far):
function XDocument::OnSubmitRequest(eventObj)
{
// If the submit operation is successful, set
// eventObj.ReturnStatus = true;
var objDOMNode; // stores a node in the DOM
var objNamedNodeMap; // stores a collection of node attributes
var ...
-
Ok, i do have insert permissions and the query seems to be working but for some very strange reason it seems that the records are being added then being deleted.
quote:
1000 White Johnson Belleville 1 0
1001 Green Marjorie Hillaby 1 0
1002 Carson Cheryl Gibbons 1 0
1003 O'Leary Michael Lowlands 1 0
1004 Straight Dean West ...
-
yeah i think i have insert permissions, but wouldnt i get some sort of error message if i didnt?
-
Hi,
I am trying to customize my submit operation with JScript code so that only records that have a check mark in the 'submit' field will be sent to the database. Here is what i have come up with:
quote:
function submit_button::OnClick(eventObj)
{
// invoke the OnSubmitRequest event handler
XDocument.Submit();
}
function ...
-
Hi,
to edit the after submit functionality can you use JScript code or do you have to edit the xsf file?
-
Hi again,
I would like to ask something in relation to my original post: how can i use JScript code to customize my submit button so that only records that have a tick in their checkbox field will be submitted to the database.
I'm assuming i have to use the ADO adapter in some way but i'm not sure how. Here's my ADO adapter object and my author ...
-
ok, problem fixed, the final xpath is used is
''/dfs:myFields/dfs:dataFields/d:authors/@au_id''
(i changed it to access the author id this time)
I am now able to access the data.
Thanks for your help
-
Hey Matt,
I tried that but i still got the same error. I have no idea what the problem could be.
*edit:
ok i captured the xml after i run the query here it is:
quote:
<?xml version=''1.0''?>
<?mso-infoPathSolution productVersion=''11.0.6565'' PIVersion=''1.0.0.0'' ...