on 02-05-2010 9:46 AM
Hi,
I have a strange issue that I would like you to help me with.
I am implemeting HCM P&F on ECC6 EhP3. The browser is IE6 and Adobe Reader 9.1.0. I have added a Value Help to my form and it works fine to open it and update the relevant field, i.e. "MYFIELDNAME" in the example below. The problem is that I want the Value Help to trigger a round trip and start "MYEVENT". The first time I open the Value Help it does not trigger a round trip. However, all following times it works as it should. I cannot figure out what causes this - help!
Below you find the script of the Value Help.
Thanks.
----- data.Page.valueHelp::exit: - (JavaScript, client) ---------------------
xfa.record.CONTROL_PARAM.ISR_EVENT.value = "MYEVENT";
xfa.record.GENERAL_DATA.HEADER.EXT_REF_NUMBER.value = "VALUE_HELP";
----- data.Page.valueHelp::click: - (JavaScript, client) --------------------
// Provide the field name of the corresponding text edit field.
// You will find the field name on the tab "object", sub tab "data", input field "name"
// The field name should be enclosed by quotation marks, the line should end with a semicolon - as shown in the next line
var fieldName = "MYFIELDNAME";
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20080513120641.469612.410443 - ValueHelp.xfo
// 'this' means relative to this node, instead of relative to form node
var theNodeName = this.resolveNode("parent." + fieldName).somExpression;
ContainerFoundation_JS.SendMessageToContainer(event.target,
"valueSelect",
xfa.resolveNode(theNodeName).dataNode.somExpression.replace(/(xfa.*?\.)(datasets.*?\.)(data.*?\.)/, ""),
xfa.resolveNode(theNodeName).rawValue,
event.target.mouseX,
event.target.mouseY);
// END OF DO NOT MODIFY
Adobe 9.1 is NOT supported currently and may be you can try downgrading your Reader and see if you face same issue.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.