on 03-27-2007 7:18 AM
Hi All,
I need to handle some event on Button click.
My requirement is quite simple. There is a DropDown List in PDF and a button.
Depending the value selected by the user in DropDownList i want to display relevent blocks(Subforms) in PDF on Button Click. All the Blocks are made hidden initially.
i.e User will select a value from Drop Down and click on 'Display' Button then
I want to make Any peticular Subform Visible.
I am unable to write scripting for it. Can anybody please help.
Thanks and Regards,
Atul.
Hi,
your adobe form must be dynamic for this functionality.
Do you have Acrobat Reader 7.0 or later?
Does it work in PDF Preview? If not, go to menu Edit -> Form Properties in LiveCycle Designer, tab Defaults. Preview Type must be Interactive Form, XDP Preview Format must be Acrobat 7.x Dynamic PDF.
Does it work in PDF Preview now? If not your script is wrong.
If you use Java WebDynpro, you must insert following code in wdDoModifyView:
if(firstTime) {
IWDInteractiveForm iForm = (IWDInteractiveForm)view.getElement("YOUR FORM");
iForm.setDynamicPDF(true);
}
If you use ABAP and you create pdf by function module, you must set dynamic = 'X' in structere for exporting parameter /1BCDWB/DOCPARAMS .
Michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Atul,
Write the respective script in the exit event - Form calc script.
$.<path to the sub form, which u need to make display>.presence = "visible".
Do update if it helps or not.
Thanks and Regards,
Anto.
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.