- Currently, any previously assigned actions just get clobbered by the setAction() method.
- Also, for fields, the only way I can think of to find out if a text field is a date field is to look at the assigned actions on Format and Keypress.
[javascript FR] get actions assigned to fields, document
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange, Tracker - Clarion Support, John - Tracker Supp, Support Staff, moderators
-
Mathew
- User
- Posts: 772
- Joined: Thu Jun 19, 2014 7:30 pm
[javascript FR] get actions assigned to fields, document
Currently the javascript API only has functions to set actions on fields and the document (field.setAction(), doc.setAction(), doc.setPageAction()). This feature request is for a way to also read the currently assigned actions (if there are any).
Last edited by Mathew on Wed Jan 21, 2026 8:31 pm, edited 1 time in total.
-
Daniel - PDF-XChange
- Site Admin
- Posts: 12536
- Joined: Wed Jan 03, 2018 6:52 pm
Re: [javascript FR] get actions assigned to fields, document
Hello, Mathew
Thank you for the suggestion, I have passed it along for consideration, and will be back if a ticket is made for this!
Kind regards,
Thank you for the suggestion, I have passed it along for consideration, and will be back if a ticket is made for this!
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
Support@pdf-xchange.com
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com