on 03-17-2010 10:07 AM
Hi,
Does anybody know whether it possible to read the Scenario Step value from within an Adobe form?
I had intended on hiding certain sections (sub forms) based on the current Scenario Step value. However, I cannot find any way of reading the Scenario Step value. As an alternative I would be happy to read the value of the Scenario Step outside of the form (but within the framework) then pass the value into the form.
Any suggestions gratefully received. Otherwise I guess my only option would be to have two forms, one with the sections and one without but that would required a large amount of rework for me.
Kind Regards,
Darren
You can try following JavaScript code
var modeVal = xfa.record.CONTROL_PARAM.ISR_MODE.value;
xfa.host.messageBox("Mode is :"+modeVal);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If he didn´t expect the value to be there, he would not advise you to try that:)))) Regards Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chintan,
Thank you for your interest in my issue.
Prior to your response I had already tried your solution and it didn't appear to contain the value for the current scenario step. Would you expect it to contain the scenario step? If so, I am happy to try the code again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.