Unlock the power of Acrobat SDK through our community.
Recently active
I would like to create a YES or NO answer in a text field using 2 conditions. if 'TotalFamSize' = 1and the value of 'TotalFam6MoInc' <= the value of 'Six-Month Inc1'then'Level1Met' value is "YES"else value is "NO" Thanks for any help you can share.
I have a reset button to reset specific fields, but is there a javascript to allow the user to choose themselves which field they want to reset? rather choosing the fields for them. I'm using adobe pro Thank you so much!
Is this.removeField or something else in the below script a trusted function?I'm trying to create a button that will delete fields by type. I want the button to delete buttons, checkboxes, and radio buttons.I already have this as an action and it works, but I'd like it as a button for easy access and for other users to use.I'm getting the following error: NotAllowedError: Security settings prevent access to this property or method. Doc.removeField:11:AcroForm:MouseUp:Action1Below is the script I've modified from another forum, but can't seem to find the link to reference. The only difference is I added the or operand to find multiple field types. It's set to a mouse-up event. I've also tried putting most of it document level except for the last for condition and the delete button action., but that still produces the error. Additionally, I tried this.removeField with a named field and it works. I guess I'm not seeing anything that would require a trusted function...//Remove Buttons and
I would like change the current default highlighter color programatically with javascript. The manual equivalent would be selecting the highlighter tool then using the highlighter tool properties bar to change the color so that my next highlight will be in the newly selected color. I'd like to change the color PRIOR to making a highlight (as opposed to making a highlight and then changing the color of that last made highlight). Is this possible? I use color coded highlighting extensively and the inability to rapidly switch between ~6 colors makes it very difficult to use Acrobat as my primary PDF reading application. Thank you in advance.
Hello community, I need some help with a solution.This issues occures on Windows 8, with Adobe Acrobat Pro.The Error message is: Adobe Acrobat Reader DC has Stopped Working. "A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is avialiable". Two key things. These .jpeg files will open with other apps like Windows Photos, paint and word.I have uninstalled/reinstalled Adobe Acrobat Pro twice. I could use some help with this issues as I cannot find help online, Thanks all in advance!
Is it possible to specify using Javascript properties of barcode fields (symbology) and also value when using this.addField(); I have not found any info for this in the documentation. For text fields yes, but not for barcode properties.
Hi,I use Acrobat DC on a Windows 10 machine. Can someone tell me if there is a default preference file similar to InDesign and where is this file located? I wish to setup my machine so that it functions similiar to an office mate? Thanks in advance for your response.-Greg
Fill and Sign is not working when I open a PDF link in Internet Explorer. Is there a reason for this? It was working fine just last week.
I am working on a form that calculates a bunch of different fields based on a few inputs (for a table top game, pathfider 2e if anyone is interested) I have 6 fields that generate a number (STR, DEX, CON, INT, WIS, CHA). I want to make a drop down in a different section of the form that has those are options, and will pull the number from the original field as the export value. So for instance, if you select STR from the downdown menu, I want that options Export Value to be the vlue from the field "STRMod". I tried usinng the field name i want to pull as the entry for the export value. I also tried:this.getField("STRMod").value I also tried:event.value = this.getField("STRMod").value No avail Any ideas? is this possible?
Hi all! Would really appreciate some help figuring out the proper code to help me at work. The idea is to be able to automatically search for phrases in a PDF document containing dollar signs (i.e "$24.7 million...."), or percents ("45% of sales") and then add in a red rectangle around that phrase. Can anyone give me a little guidance on how to do this? I am very new to the world of writing code so I would really appreciate the help with this. Thanks so much in advance!
I have tried creating a stamp with the following javascript&colon; event.value = util.printd("h:MM tt, dd mmm yyyy", new Date);event.value = (new Date()).toString();AFDate_FormatEx("H:MM , dd/mm/yyyy"); but it not updating the date and time automatically. I have searched and tried several different versions of the javascript and none of the seam to update the date and time. Any help would be appriciated.
How do I replace Time Machine?
Problem: to open PDF files encrypted as a whole using 3rd party methods, such encrypted files have custom file extension (like foo.pdf.newext). Solutions tried:wrote a new Acrobat plug_in (based on Acrobat SDK's sample DMSIntegration), implemented custom ASFileSys to encrypt/decrypt underlying file on disk. To make Acrobat use my ASFileSys I replaced default file open dialog (AVAppOpenDialog()) with my own by replacing its HFT entry and provided my own ASFileSys instead of ASGetDefaultFileSys() as out param of replaced call. It works for files opened via file open dialog. But it does not work for files opened directly from Explorer or Comman prompt as no file open dialog is involved. Any help here on how to replace ASFileSys files opened from Explorer?wrote a new Acrobat plug_in (based on Acrobat SDK's sample DMSIntegration), implemented custom ASFileSys to encrypt/decrypt underlying file on disk. To make Acrobat use my ASFileSys I registred for File open notifications (AVDoc
I am using rectangle from Drawing tool bar. I have added that to my current tool set. I can change the outline color and fill in color to White. When I select Make Properties default, the setting doesn't stick. When I close Acrobat and Open it again, the settings are revert to default. I have other users are who are experiencing the same issue. We are using Acrobat Pro XI and Acrobat Standard X. It used to work. Not sure which Adobe update is killing this feature. Any ideas what could be causing this issue?
This has been driving me nuts for a few hours and I've just realised what I think the problem is, but I don't know who to rectify it. In all fields, I have the following custom validation script so I don't get a form full of zerosif(event.value == 0 | event.value == '') event.value = ''; Problem is, in another field I have the following which says I want a specific field to show zeros, which it's not doing, I'm guessing because of the custom validation script. if (this.getField("vat rate.10").value == "Exempt") {event.value = 0;}else {event.value = this.getField("vat rate.10").value/ 100.0;} If I remove the custom validation script, I obviously get a load to zeros appearing. Help please!
I'm trying to open a PDF Portfolio via Ipad but I only get a cover sheet saying... 'For the best experience, open this PDF portfolio in Acrobat X or Adobe Reader X, or later.' There are no documents just this message, I have adobe reader installed so I don't understand what the issue is?Thanks,Sam
I want to sort the data into form fields. The fields are arranged in a simple table with 10 rows and 3 columns with the headings "Number", "Name" and "Reward". I have the fields "pNum.0" ... "pNum.9", "name.0" ... "name.9" and "rew.0" ... "rew.9".After filling in the fields I want to click on the "sort" button and sort the filled rows alphabetically according to the "Name" column. Names are also accented, eg "Šimon", "Čeněk" ...
Hi! If we want to handle simple click , we can do Handle mouse clicks in the annotation by using the AVAnnotHandlerDoClickProc callback method.But if we want to handle double-click , what callback method should I use ?
Is there a way to add a custom color to the color picker for setting an annotation/highlight color using javascript? Also, is there a way to set the default color to this added color?Thanks!
I have compiled 200 magazines in pdf formats into a folder and conducted an advanced search to find articles covering a certain phrase. Adobe Acrobat have yielded the result (in this case 142 documents with 360 instances). I am wondering if it is possible to handle these results in an automatic way. Since I will do many more phrase searches I would really like to find a way to do it that is automatic. Or do I manually have to open each result>click on the organise pages button>click extract>extract pages as seperate files>Extract?Thanks. I am using Adobe Acrobat Pro DC
Hi I would like my function to detect the source of the event (onFocus vs onBlur) as in the sample script below.Is it possible ?I just spent more than an hour in the Acrobat JS documentation, I did not find anything and I have itchy eyes ... myFunction() {if (event is onFocus) {// blablabla;}else if (event is onBlur) {// blebleble;}} Thank you
Hi Adobe Reader,I do have Issues with downloading and uploading back annotated pdf files from onedrive. sync is not happening manually or automatically. it takes long time open the pdf file of even 70mb size. Im using the app on Ipad 6th generation. let me know if it can be fixable or not?Thank you.Regards,Dr.Swaminathan.
I've searched online for a solution to this and I find vague references to using Javascript but I can't find anything definitive.I've got a form which has an image based key. The idea is for the user to choose an image from the drop down menu so that image is displayed in the dropdown field once selected.Does anyone have an idea of how to do this and prefereably a tutorial? I have very basic JavaScript skills so have not been able to work this out myself.
I'm missing something again as this isn't working either 😞The first part - if "vat rate.10" says Exempt then "vat value.10" will show 0 - works great, but I can't get the next bit to work. If "vat rate.10" contains a value (any percentage), then "vat value.10" should show "aVATRate.10 x "net value.10" if (this.getField("vat rate.10").value == "Exempt") {event.value = 0;}else {"aVATRate.10"*"net value.10";}
need help with importing existing pdf form data into a new pdf form. found most of what i need at https://forums.adobe.com/thread/2466770 but i don know enough to the code for getting the doc object and copying fields. can someone share an example of what the doc object and copying field data should be?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.