on 10-31-2007 7:44 AM
I have a scenario where in I need more events than the existing SUBMIT and CHECK events. Please let me know if there is any process to add new events.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using ActiveX buttons Submit to SAP and Check in the form. There are no other buttons in ActiveX components in the library. Native buttons do not work as the display type is ActiveX.. Also the Java script doesn't work.
Is there anyway to
1) Add Events/Actions to Adobe Form
2) Add buttons and set the values of an attribute for Click event for the button
3) Display the ADobe Forms in firefox so that I can debug the Java script using FIrebug.
Code in the Click Event is not executed when I use java script.
<b>Environment:</b>
NW SP12
Adobe Reader 8.0
<b>
P.S. Antony: How to put a flag for each button and code. Please let me know in detail...</b>
Hi,
Got the Solution. As Tony said, I have put a text box and set the value of it when a button is clicked. But the Problem is how to trigger an event or action.
For this I used the Submit event itself. I used Submit buttons only for all the actions I needed and Whatever button is clicked, Submit event is fired.
Here I call a method according to the value which is set upon clicking a button.
For this on the button click event, I wrote this code
TextField.rawValue = 'ButtonName';
This is mapped to view attribute of the context. So when I Click a button i check this value and call a method accordingly in the Submit Action.
Thats all folks. Now the only problem I have is Java Script doesn't run sometimes. I donno how to debug the script.
Cheers,
vasu
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.