The reason I offer both of those languages is that I can achieve what I'm trying to accomplish using either javascript, or C#, but they are completely different languages. I couldn't find any sort of this functionality in the workflows in sharepoint designer.
|
The easiest way to invoke some code on submission (...insert) of a list item it to write an ItemAdded event receiver. The item level event receiver can be registered against a web, list or content type. Here's an example of registering one against a web (...this would fire for an item added to any list or library on the web:
And then the event receiver would look something like this:
|
|||||
|
|
You could use an Event Receiver. From the article:
You'll probably need to implement the ItemAdding and/or ItemAdded event(s). |
|||
|
|
|
Javascript code can be run but utilizing the PreSaveAction() function. This will allow you to execute any javascript code you need to on the list item submission before the item is commited to the database. |
|||
|
|