Hello,
I would like to edit the Javascript functions in a form (made with Acrobat).
For example, the action "Mouse Up" linked to a button is "Run a Javascript"... is a call to the subfunction "lang_fre();"
How do I access (edit) the code of this subfunction with PDF-Xchange ?
Thanks.
How to access Javascript (sub)function code SOLVED
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 6
- Joined: Thu Nov 09, 2017 11:07 am
How to access Javascript (sub)function code
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 17949
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: How to access Javascript (sub)function code
Hello Tim,
Click on the code itself - and the "Edit..." button at the top bar should activate, and clicking that will allow you to edit the code further.
Regards,
Stefan
Click on the code itself - and the "Edit..." button at the top bar should activate, and clicking that will allow you to edit the code further.
Regards,
Stefan
-
- User
- Posts: 6
- Joined: Thu Nov 09, 2017 11:07 am
Re: How to access Javascript (sub)function code
Hello Stefan,
If I click on the "Edit" button, I do not access the sub-function code (see screenshot). For comparison, I also attach a screenshot of the function "lang_ita()" when using Adobe Acrobat. This is what I am looking for with PDF-Xchange.
Is this feature simply not implemented? Or am I missing something ?
Regards.
If I click on the "Edit" button, I do not access the sub-function code (see screenshot). For comparison, I also attach a screenshot of the function "lang_ita()" when using Adobe Acrobat. This is what I am looking for with PDF-Xchange.
Is this feature simply not implemented? Or am I missing something ?
Regards.
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 17949
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: How to access Javascript (sub)function code
Hello Tim,
Can you please attach the PDF file with this code inside - so that we can take a look ourselves?
Cheers,
Stefan
Can you please attach the PDF file with this code inside - so that we can take a look ourselves?
Cheers,
Stefan
-
- Site Admin
- Posts: 3550
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
Re: How to access Javascript (sub)function code SOLVED
It seems in Acrobat you are looking at document scripts, not the script associated with a form action. Am I right?
In the Editor you can find document level scripts on Document Properties (File -> Document Properties; or Ctrl + D) dialog on "JavaScript" page.
In the Editor you can find document level scripts on Document Properties (File -> Document Properties; or Ctrl + D) dialog on "JavaScript" page.
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
-
- User
- Posts: 6
- Joined: Thu Nov 09, 2017 11:07 am
Re: How to access Javascript (sub)function code
[deleted]
Last edited by titi_nicolas on Wed Feb 14, 2018 1:13 pm, edited 1 time in total.
-
- User
- Posts: 6
- Joined: Thu Nov 09, 2017 11:07 am
Re: How to access Javascript (sub)function code
Ivan - Tracker Software wrote:It seems in Acrobat you are looking at document scripts, not the script associated with a form action. Am I right?
In the Editor you can find document level scripts on Document Properties (File -> Document Properties; or Ctrl + D) dialog on "JavaScript" page.
Yes, this is what I was looking for !
Thank you very much.
-
- Site Admin
- Posts: 17949
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: How to access Javascript (sub)function code
Glad to hear all is now good titi_nicolas!
Cheers,
Stefan
Cheers,
Stefan