on 09-04-2008 1:49 PM
Hi.
I have an Adobe interactive form that when a user select (from a drop-down list) or type in data in a field, I want another field to populate only data relate to input user entered on first field.
I know this is possible if I don't use Adobe form template, but can I do this with Adobe interactive form (created from SFP).
Thanks for all your help in advance.
John
Hi John,
This is Surely possible,
Do this:
If u r using ActiveX or Native type of Dropdown, u may find some autogenerated codes on certain events.
At the exit event, u'll find some code where in a place will be given where u can write the code after selection has been made, there u can place ur code as given below:
// START OF CODE - TO RUN AFTER SELECTION HAS BEEN MADE
var G = "Green";
var R = "Red";
if (this.rawValue == "Key that is returned to context after dropdown is selected")
{
BodyPage.TextField.rawValue = G;
}
else if(this.rawValue == "Some other key for which u wud liketo change value in the text field")
{
BodyPage.TextField.rawValue = R;
}
else
{
}
// END OF CODE - TO RUN AFTER SELECTION HAS BEEN MADE
Hope this helps..
Thanks,
Amita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
Surely we can do that as well.
For that u can find a sample form available at ur desktop itself, just follow the path
C:\Program Files\Adobe\Designer 7.1\<Language Key>\Samples\Purchase Order\Dynamic Interactive\Forms
There u'll find a Purchase order form, in that form if u open it in Adobe Designer u'll find certain script objects that are being used to populate the dropdowns..
These script objects are just the functions modules that are used in ABAP.
Take a look..May be helpful to u..
Thanks
Amita
I am sure someone has done this before.
Please help with this question.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.