-
Done. I found a different post that helped me put the value into the correct row of the repeating table. I posted the completed code below for anyone else.
function
msoxd__SR_Materials_cs2ID_attr::OnAfterChange(eventObj)
{
// Write code
here to restore the global state.
if ...
-
Hi Matt,
This is a great solution. However, the fields that are not included by default in the form's XML are grayed out and I can't enter the values for them. Am I missing something.
Thanks for your reply.
Srini
-
Hi Matt, Thanks for your reply. Your suggestion of using an image control that was saved as a link does work when viewing the transformed file within Internet Explorer. By the way, I came across a way to view InfoPath forms with embedded Base64 images through Internet Explorer. If the form is exported as a Web Form the ...
-
Ok, I'm now able to get the value from the secondary data source successfully and display it as an alert. Is there a way to get a reference to the current repeating row that fired the event so I can populate the correct field. I can only seem to populate the entry in the first row of the repeating table. This code is being run using an ...
-
Thanks Clay,
I'll probably end up using the library events for emailing or security but I was hoping to use the submit event since it saves and closes the form at the same time - or it can cancel the submit entirely. Not sure if I could get the same result from the library events...
I've got a working solution now by making the ...
-
I have not had much experience with SP2007 and browser based forms yet but I do know on SharePoint, at least with 2003, in the setup of the document library there was a place to insert custom code that would utilize a built-in trigger when something was saved there. In was in the same location as linking a document library to a ...
-
This is the built in feature that the article describes and I do not believe there is anyway to override it. Your only option is to create your form so that the user does not experience it. Also even if you eliminate the message, the user is still having to wait a while for their information to load.
You could reduce the size ...
-
The issue has been resolved. It had to do with internet option - security settings.
We had to enable authenication to a datasource.
It worked after that!
-
ah, man. there is always an easy answer. I shoould have asked the question HOURS ago. thanks guys, the solution works great. Now in order to evaluate the specific field in the specific row i changed the code block within the while loop to this:
XDocument.UI.Alert(node.selectSingleNode("my:pickupReady").text); ...
-
I'm developing a browser based form that will have multiple people editing it before it's finalized. I also need to have custom code run when the form is submitted/saved to the SharePoint library.
From what I understand, I can only write custom submit code - not save code - for a browser enabled form. The problem I'm ...