[v11.0.0 bug] Editing stamp field javascript does not stick

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

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

User avatar
Mathew
User
Posts: 838
Joined: Thu Jun 19, 2014 7:30 pm

[v11.0.0 bug] Editing stamp field javascript does not stick

Post by Mathew »

[edit] I just checked v11.0.1 and it's also in this version.

If I have a stamp and use the "Edit Stamp" option from the stamps palette, I cannot get the revised javascript to actually save to the stamp. While I have the stamp open for editing, it appears to stick, and it saves, but when I close it and try to use the stamp, or edit the stamp again, the javascript has not changed.

To reproduce:
  1. In the stamp palette, pick a stamp that already has a form with custom javascript assigned to it
  2. Press "Edit"
  3. Select the field with the custom javascript, and go to Value Calculation > Custom Action > Run a Javascript > …
  4. Edit the javascript i.e. add app.alert("yoohoo!") to the end.
  5. If you added the alert, it should pop up once you close the JavaScript dialog
  6. Save and close
  7. Place the stamp. I get no alert.
  8. Go back to edit the stamp, Value Calculation > > Custom Action > Run a Javascript > …
  9. The change we did above has not been saved.
If I add a new field, the script will stick the first time it is entered. Editing it does not seem to save though.

Workaround is to use the old menthod (ie close PXCE, move stamp file out of Stamps folder, edit the stamp file, close PXCE, move back)
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 12937
Joined: Wed Jan 03, 2018 6:52 pm

Re: [v11.0.0 bug] Editing stamp field javascript does not stick

Post by Daniel - PDF-XChange »

Hello, Mathew

I have reproduced this issue and passed it along, thank you for the report, and sorry for the inconvenience in the meantime..

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
[email protected]