-
Drop downs do not have OnClick handlers. You will need to use the OnAfterChange handler.
OnBeforeChange and OnValidate both happen while the DOM is readonly.
- - - - -
position() will probably have no effect in your XPath. I would think that the following should give you the same results:
../@name = current()/my:OptionName
Greg Collins ...
-
If you are publishing the .xml file from the first template with a specified name, you can then have the second template reference that .xml file by setting up a data connection to it. When asked if you want the form added to your template, say NO. This will force InfoPath to look for the .xml file in its original location.
Once you have the .xml ...
-
Hi
Please help me regarding Form to Form transfer the node value.
Eg:- There are employee details in the InfoPat XML files
1. EmpName,
2. EmpDOB,
3. EmpSalary, etc..
Opened the EMPPersonal.XSN template file and ''Save As'' in xml file(EMPPersonal.xml) with above details.
There is another template file called ...
-
Hi Greg,
I filtered the dd3 using
../@name = current()/../my:Choice[position()]/my:OptionName
and that did the part of the trick.
i.e , even though that the web service re-populates the dd3's in all rows, however, I am still able to see the selected values of dd3 ( i.e the text does not change .)
So, I figured, that if the user wants to ...
-
Hi Richard.
Sorry. I jumped into your discussion at the end when I posted my response. I just went back and read your scenario. I believe that you have a much more difficult situation here.
(following, dd will stand for 'drop-down'):
The problem is that when you refresh the web service with the dd2 selection, you are refreshing it for ALL ...
-
Hi Greg,
I am trying to filter the dropdown3 for the current row in the table:
/dfs:myFields/dfs:dataFields/tns:MarkLogicDistinctQueryResponse/tns:MarkLogicDistinctQueryResult/result/option/subresult[../@name = xdXDocument:get-DOM()/my:myFields/my:Choices/my:Choice[number(count(preceding-sibling::node()) + 1) ]/my:OptionName]
but that did not ...
-
Hi Shree,
Thank you for clarifying your situation. So it sounds like what you want to do is have the repeating section in the Print view repeat horizontally instead of veritcally.
If that is correct, you can do this but it will require manually modifying the XSL file for the Print view.
Read the following newsgroup posting for ...
-
Hi GREG,
I am SHREE , Thanks for your reply.
I have a repeating section with controls in default view ,lets assume [COLUMNS]is our Repeating Sec.
The Repeating sec. may contain any number of fields, in default view, i inserted 2 records, first record then under that second using -Insert- option.
For this same ...
-
Hi Richard,
Cool. Thanks for posting this. Apparently it was a mystery to us all... :S
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
See if the following helps:http://www.infopathdev.com/howto/tutorials/default.aspx?i=51dce616335a4ff6a78f2d289baf4651
Greg Collins [InfoPath MVP]
InfoPath Dev