I can see that Prince has a mechanism for passing arbitrary Javascript to document-level events, such as opening, saving, or printing a document (i.e., via the -prince-pdf-script and -prince-pdf-event-scripts CSS properties), but unless I'm overlooking something, the documentation doesn't seem to cover any way to attach arbitrary Javascript to a generated form field's events.
I have a document I'm generating using Prince which contains nearly fifty fields that need to have custom Javascript attached to their MouseUp events, and while it's not terribly challenging to load the resulting PDF up in Adobe Acrobat and manually paste in the required code for each field, it's quite time-consuming to do it every single time the document is revised; it'd be really handy to be able to pass the scripts in at the time that the PDF is generated, so consider this a feature request if it's not currently possible.
I have a document I'm generating using Prince which contains nearly fifty fields that need to have custom Javascript attached to their MouseUp events, and while it's not terribly challenging to load the resulting PDF up in Adobe Acrobat and manually paste in the required code for each field, it's quite time-consuming to do it every single time the document is revised; it'd be really handy to be able to pass the scripts in at the time that the PDF is generated, so consider this a feature request if it's not currently possible.