XChange Editor: Java Script Button does not work

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
Daniel1
User
Posts: 6
Joined: Wed Jun 11, 2014 7:52 am

XChange Editor: Java Script Button does not work

Post by Daniel1 »

Hello,
I have created an individual PDF form with Adobe LifeCycle Designer 8 with Radio Buttons (Yes, No). In case that a user marks on of the Radio Buttons it is not possible to "uncheck" / clear them so that one of them will stay selected. For that I integrated a Button that clears this special Radio Button Group. The Button is set to the Action "Click" and uses the following JavaScript Code:

Code: Select all

xfa.host.resetData("form1.page1.table1.row1.RadioButtonsYesNo");
- Using this PDF form with Acrobat Reader (latest version) the button does what it should do: Clear the radio buttons.
- Using the form with PDF XChange Editor (version 5.5 Build 316.0 with licence) it happens nothing when clicking the button - radio button stays checked.

In preferences -> JavaScript the Option "activate JavaScript actions in general" is checked (standard).

Can anyone help?

Thanks in advance an a nice weekend for you all.
User avatar
Patrick-Tracker Supp
Site Admin
Posts: 1645
Joined: Thu Mar 27, 2014 6:14 pm
Location: Vancouver Island
Contact:

Re: XChange Editor: Java Script Button does not work

Post by Patrick-Tracker Supp »

Hello Daniel1,

Thank you for the post. Could you please post the file you are seeing this issue with so that we can investigate this issue further?

Thank you!
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Cheers,

Patrick Charest
Tracker Support North America
Daniel1
User
Posts: 6
Joined: Wed Jun 11, 2014 7:52 am

Re: XChange Editor: Java Script Button does not work

Post by Daniel1 »

Hello Patrick,

thanks for your help. No I can't post this special PDF because of some personal content but I can create a new one and post. I will do it next week. Thanks again and have a nice weekend.
User avatar
Radi - Tracker Supp
Site Admin
Posts: 600
Joined: Tue Mar 03, 2015 12:46 pm

Re: XChange Editor: Java Script Button does not work

Post by Radi - Tracker Supp »

Hi Daniel1,

Thank you for the post. We're looking forward to receiving your PDF file. Please post it when it is ready.

Regards,
Radi
Daniel1
User
Posts: 6
Joined: Wed Jun 11, 2014 7:52 am

Re: XChange Editor: Java Script Button does not work

Post by Daniel1 »

Hello,
I created a Test PDF file, please see attachment.
With Adobe Acrobat it works, with PDFXChange it doesn't.
Thanks for your help.
Daniel.
Attachments
Clear_Button_Test.pdf
(85.25 KiB) Downloaded 96 times
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17910
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: XChange Editor: Java Script Button does not work

Post by Tracker Supp-Stefan »

Thanks for the sample Daniel,

Passing it to our devs for investigation.

Regards,
Stefan
Daniel1
User
Posts: 6
Joined: Wed Jun 11, 2014 7:52 am

Re: XChange Editor: Java Script Button does not work

Post by Daniel1 »

Hello,

are there any news relating my problem? We need to work with some forms using buttons. If there is no chance to use the buttons in PDF XChange Editor we unfortunately have to use Acrobat Reader although we purchased the Editor and would like to use it generally.

Thank you and have a nice day.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17910
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: XChange Editor: Java Script Button does not work

Post by Tracker Supp-Stefan »

Hello Daniel,

I checked with the guys in the European office - but it turns out we would need a colleague from the Head Office in western Canada to take a look as well. I have now forwarded that to the correct person and we will see how to improve the Editor's behaviour with such forms.

Regards,
Stefan
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17910
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: XChange Editor: Java Script Button does not work

Post by Tracker Supp-Stefan »

Hello Daniel1,

Problem confirmed and we've made a ticket in our internal system so that we can resolve this in a timely manner:
#3404: Editor 316.1: Java Script Button does not work

As soon as there are any news in the ticket - I will post them here.

Regards,
Stefan
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17910
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: XChange Editor: Java Script Button does not work

Post by Tracker Supp-Stefan »

Hi Guys,

Just a quick update to let you know that the ticket is now resolved, and the fix will be available in the next build.

Cheers,
Stefan
Post Reply