on 07-27-2011 4:52 PM
Hello,
I have 12 different include texts for different reason codes associated with payment difference, I need to display the respective text on the form based on the value in the reason code field, I am trying to figure out how this can be achieved. I populated the Text name and reason code into 1 internal table and passed it to the form context. Please suggest.
Hello,
I am new to adobe forms and have no idea on using scripts. Can you please elaborate if possible, I am not using a dropdown list for reason codes, it comes in from the interface and do i have to define all the include texts in the form context.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kiran,
If the number of reason codes are static then for the include text, in context mapping, in conditions tab declare the condition like
reason_code = 1.
Now, put 12 text fields one on another such that it overlapps.
If chances are there that include texts may increase, I will give you the scripting code how to do it.
Please let me know, if you need some scripting.
Thanks,
Rakesh.
Hi,
you can achieve this using script. Use the event "Initialize" and do your script there. This code snippet will help you:
var name = "Hello " + $record.name.value;
this.resolveNode("result").dataNode.value = name;
Best,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.