So I’m building a PDF from scratch, and as part of this I use a few Form Fields. I have set the Field.Required = true; but Acrobat doesn’t seem to validate and require them when saving or printing… Maybe I’m just not understanding how required works? Can someone explain how I can mark a form field as required so that the user must fill the entry in before they save and or print.
Thanks for your inquiry. Please note Required property is used in code to manipulate required fields. However, for validation in GUI you need to implement java script on form fields. Please check following documentation link to set java script on a form field. Hopefully it will help you to accomplish the task.
Please feel free to contact us for any further assistance.
Okay according to this:
There are document level scripts for the events I need… but I’m not quite sure how to add them using ASPOSE.PDF. Could someone point me to the proper documentation and or an example of how to achieve this.
Okay so this seems to have gotten me pretty close:
I have tested the scenario and I am able to notice the same problem. For the sake of correction, I have logged this problem as PDFNEWNET-36656 in our issue tracking system. We will further look into the details of this problem and will keep you updated on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.