-
Greetings.
I have an infopath form that is linked to a sharepoint list.
The form contains a non repeating (with XML) section and a repeating section.
When I submit, only the first row contains all data.
Via a workflow, if a specific field is null, I will copy the same field from previous row ID to the current row ID.
It seem to be working ...
-
You need to add code to the form. You cannot do what you want with just rules in InfoPath - right click your button and select the button properties, then you can add code to the button.
-
You also asked about query vs. data fields - sorry, I didn't answer that. We use query fields to return only specific information from the data source. So - in the data connection we were looking at, you could set the query Teacher field to "John Smith" and then add another rule to run the query. Only data with the Teacher = John ...
-
This is giving me some weird error. As I said I am exteremely noobie to this, so bare with me. But yeah, i copied the xpath of the note output and pasted it in the code you gave me, then copied the entire code, right clicked on my button, hit "button properties" then hit the "fx" symbol to put the code in and pasted it in there ...
-
Thanks! That worked! Setting those filters is tricky - it seems a rabbit hole of clicks to get to the correct filter-setting window. Your answer made sense - but I will need to study it carefully to be able to replicate it with other scenarios.
Many thanks!
(Oh, and the teacher column is just a text ...
-
There is no rule action in InfoPath to add instances of repeating groups. You either need to use code (or qRules) or include the repeating groups by default and use some kind of conditional formatting to hide them if they aren't needed.
-
thank you hilary.
and if the drop down is into repeating Section is possible that all the others repeatin Sectiones are added automatically ?
-
thank you hilary.
and if the drop down is into repeating Section is possible that all the others repeatin Sectiones are added automatically ?
-
In the Cyberstone Classes and Teachers list in SharePoint, is the Teacher column a lookup to another list? Or is it just a text field?
In general, I think the rule you currently have on the Course field is close. You need to add a filter to indicate which teacher you want - I'm attaching a screenshot. The first value in ...
-
With a filler form, set to use C#, that has a using System.Windows.Forms statement at the top of the code file, add code to your button:
string text = this.MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:field1", NamespaceManager).Value;
Clipboard.SetText(text);
See the part in bold that says ...