-
Hi there!
You could use code, but you can also modify your submit options to use rules. Then, in the rules, the first action could be "Submit using a data connection" and you could use your main data connection that submits to the DB. You could then add a submit data connection to your SharePoint site, and add another action to your ...
-
Ah, okay. See your XPath? you are going all the way back to the root of your XML, I bet. And your function? Is @class the repeating field? if so, you should be able to just use eventObj.Site.NewValue.text to get the current value.
If, for example, 'control' were your repeating group, and you had an OnAfterChange event attached to it, you ...
-
I'm not sure why you are using code for this. Doesn't a rule, like I suggested in the PM I sent you, work?
If you want to use code, you'll need to get the repeating node and loop through it, setting the value of the field.
For example (C#, 2007 Object Model):
XPathNodeIterator nodes = ...
-
Hmm. That's odd. I don't -- I get each row as I change it. Can you paste in your script so I can try it?
-
Hi--
Your On After Change has an argument that is a DataDOMEvent called 'eventObj'. This refers to the changing node -- in your case, a repeating section. eventObj.Site.selectSingleNode("my:field1").text for example, would give me the value of the field named 'my:field1' inside a repeating section or table. Let me know ...
-
PL Group Lookup must be a data connection in your form. Is it a connection to a file included with your form? Or an external file? If the file is included with your form, you can go to Tools/Resource Files and export the file that data connection is using, then open up the XML and check it out.
Just in general, if you want to see the files that ...
-
Wow -- sorry, I didn't realize this wasn't available for browser forms.
I guess you will have to use input parameters instead. This means you'll have to have code in the Loading event of the form you wish to open and then figure out a way to pass in those parameters in the URL you open the form with.... One way would be to have a data ...
-
Fantastic -- glad you got things working, and with rules instead of code!
-
Hi, and welcome!
So the first thing your button will need to do is fill a table that is bound to your main data source with information from a secondary data source, right?
And the second thing it needs to do is generate a "To" list, based on the emails associated with each application... do I have the gist of it?
Filling the table ...
-
You can add an expression box to your print view bound to the same field as the option buttons. Whichever button is selected will provide the value to the expression box.