You searched for the word(s): 12
-
Never mind, I was able to solve my issue.
-
This gets me the current value of the drop down list, not the content of the group Year1 under which YearSelection lies in.
-
e.Source.SelectSingleNode("YearSelection", NamespaceManager)
-
Hi Jimmy,
many thanks for your help, I have found a way around this from another entry on this site. It calculates the difference between 2 dates and out puts this into another field I then take this value and use some conditional formatting to get my traffic light to work.
-
I was able to get the value of the field from the repeating section - I had to write e.Source.SelectSingleNode("YearSelection").
I can copy the current value in the selected dropdown field "YearSelection" - my requirement is to copy the xml of the section from where the button was pressed (Year 1). I dont think I can do the ...
-
Where is your button? Is it in Specialization?
Run in debug, and take a look at e.Source to see what node it is.
-
Hilary,
Thank you very much for your patience - You got the architecture of the sections and repeating sections correct however when I run the code you mentioned it returns me a NULL value.
I will further clarify the data structure for you:
Specializations (Group)
Specialization (Repeating ...
-
You said your button was in a section - the section is bound to your repeating group, Specialization, right? So you could get a node like this:
XPathNavigator yearDDL = e.Source.SelectSingleNode("my:SemesterDetailInformation/my:Year2/my:YearSelection", NamespaceManager);
-
Hilary,
Your post makes sense - I debugged using e.Source.OuterXml.ToString() and found myself on the current node, however I am not sure what would be the syntax of getting relative path of the node whose value I want to retrieve. For e.g I have a field "YearSelection" - how would I retrieve the value using e.Source as relative path. ...
-
I have 2 InfoPath forms...I need to create a link on one form (after it is filled out) to a form in a separate library (after it is filled out).
Accident form is filled out by a Supervisor...and Investigation form is filled out by Safety Team member...different people have permission to create each form. They are in ...