Unlock the power of Acrobat SDK through our community.
Recently active
Hello, I have a field with a custom keystroke: if( event.willCommit ) { if(event.value == "") //if nothing is chosen in box1 then box2 will be cleared this.getField("Text412").clearItems(); else SetFieldValues(event.value); } I would also like this same field to be formatted with two places after the decimal. I am assuming I would need to add code to the Custome format Format script to accomplish that but I don't know how or what scritp to write. Since I don't know how to write javascript I just search and try to adapt what I find. I found this talking about a custome format script:Archived Forum Answer (2 places after decimal)So I thought I just needed to add this lineNumber(event.value).toFixed(2);to the custom format script but it doesn't work. Is it because I need to add more to the script? Or is my approach completely wrong anyway? Any guidance would be appreciated! Thanks! Ariel
It is as the title.I'm looking for a way to right justify characters typed in a drop-down list. The drop-down list properties do not have a place to change the alignment like the text box properties.If I use it, all characters will be left aligned. I tried to enter the following into the formatting box, but it didn't change.I'm not sure how to write at here. style.textAlign = 'right' I am Japanese and I am not good at English.I'm looking for a huge page of "js_api_reference.pdf" with more than 700 pages, but I don't know where to look. Please tell me the information I should get.Thank you !
I have several digital signature fields in my Adobe Acrobat form. The form is used as an intake form and is signed by several indviduals on an ipad. When the signature fields are filled out we get several errors and warnings about their authenticity / cryptographic credibility yatta yatta. These security features are over kill for the client. Basicaly how can we disable them and/or have acrobat treat them more like "drawing fields"? Best!
Hi,I am developing an application using PHP. My application have some pdf file which user can download after registration. But, these pdf files will have 2 months of validation i.e. PDF file would be expired after 2 months from the date of registration, How can I set dynamic expiry date in PDF javascript? Do you provide any plugin or something like that? Please help ASAP.ThanksSanchari
I am considering buying adobe acrobat. The reason is to create JavaScripts that I want to include in my PDF'sWhat version do I need for this.
I am using the multi-column list view (mclv) in a JavaScript dialog to display some records. Before I display the records in the grid I sort them based on a sequence field in each object of the array that populates the grid. On Mac, Acrobat displays the records in the correct order (the order in which they are in the JavaScript array) but on Windows the most recently added object to the array always displays at the top of the grid. I even tried cloning the array by sorting it, stringifying it, then parsing it back into a new JSON array and the result is the same. I know that the multi-column list view ("grid") is an undocumented feature but I'm hoping there is a way to control the display order on Windows. Any suggestions?
I had a disc with Adobe 8 standard which was registered etc. I now have a new computer but have lost the disc. I have a serial no registered with Adobe. However the only Adobe 8 available for download is Adobe 8 Pro and when I put in my serial code I get a message code provided is invalid. What can I do?
I've tried to do this myself, but I'm missing something as it doesn't work! Could someone correct me please Basically, if the VatValue.3 field says 'Exempt', the aVATRate.3 field should say 0, but if the field shows a percentage value (eg 20%), them it should show the value divided by 100. if (this.getField("VatValue.3").value == "Exempt") {event.value = 0;}else {event.value = .value/ 100.0;}
I want to sort the data in the form fields. Fields are arranged in a simple table with 10 rows and the heading "Name" and "Price". I have the fields "name.0", "name.1", "name.3" ... "name.10". Then the fields "price.0", "price.1" ... "price.10".After filling the fields I want to click on the button "sort" and alphabetically sort the data by the first column.I use Adobe Acrobat Pro.
Hi, Can anyone point me in the direction of how to create PDFs which are non-editable programatically? I want to automatically generate a PDF which cannot be editable using a PDF tool. Everything I can see is based on using the security settings manually within the Acrobat tool, but I wanted to know if there is another option? Thanks.. M
Hi,I am trying to to save my document with JavaScript as PDF/X3 I tried the optional parameters for the saveAscurDoc.saveAs(outputpath, "com.callas.preflight.pdfx"); but it will not save it as X3.It there a way to go through the optimizer by script, change preferences .. Thanks for any help.Stefan
Is it possible to embed Acrobat "AcroExch.App" in an Excel Userform ?I do not want to use AcroPDF as there is no functionality to fill out form fields.
Hi,I would like to highlight a selected text in a certain colour via shortcut (that is to say, execute the command available in the context menu of a text selection programmatically (right click on selection > Highlight text)). I have used IAC with AutoHotkey before, but I am not sure which route to take... could somebody point me to an example for text annotation creation over a selected text?Thank you in advance for your help and suggestions.
Hi everybody, I have the feeling my problem should be simple to solve but I cant figure it out. I am very new to this .. so I might be absolutley on the wrong track. I have two PDF forms: A0.pdf and A1.pdf. The user should fill the template A0.pdf and if required afterwards also the additional template A1.pdf. As there are form fields containing the same information in both forms, I would like to transfer the mutual data from the A0.pdf to the A1.pdf . My idea was to use a button in the A0.pdf that if pressed opens an empty template of the A1.pdf and then fills in the data. Here is what I came up with so far as an example for one Name field: var v = this.getField("A0-Name1"); var myDoc = app.openDoc({cPath: "/C/UserData/user/Documents/A1-template.pdf", bHidden: false}); myDoc.getField("A1-Name1").value = v.value; The script works when I run it from the console. But when I trigger it trough the action of my button the following error is returned: &nb
Good morning everyone - i have a pdf form that has 12 fields - 5 are hidden - its a calculator of sorts. The user puts in their annual earnings, and based off of field3 - field4 is supposed to dive field3 by 12 and generate a number - but it's not working. i've tried this in the in the Simplified Field Notation area: Annual_Bill_Rev/12months the 12months is a hidden field with a default value of 12. If i can figure this out, i can probably figure out the other elements as well. so that i may get those other fields working. i need this by End of Day today so i suuuuuuure hope someone can shed some light on this for me. Pretty please?! Thank you in advance for any help you can provide.
Recently upgraded to new iMac and re-installed Adobe CC. Since then every high resolution pdf i view has a strange "ghosting" effect of trim marks etc which only shows when viewing overprint - they do not appear in the separations preview nor do they appear when printing.This appears on pdfs created by others and it does not affect anyone else in my group so is clearly a display error of some kind - any comments?
I'm trying to figure out a way to get the coordinates or location of when you as a user are using the pointer, you can select an area(represented by a blue box). I would want that blue box location and save it. Then I would like to be able to recreate that. So I could click a button and that select box would appear at that location again. In a way its similar to what the bookmark feature can do except that just uses zoom. The reason I need this is to add a feature to a ERP application I am creating. Customers send emails with pdf attachments. We quote them according to what they say in that pdf file. As a user, I want to be able to select a location in a pdf file, save it, and continue. That way when a product is shipped, for example, with the color purple, and the customer is upset because he didn't want purple, we could easily show the customer where exactly he/she said that in the pdf file. We wouldn't have to waist time looking through all the pdf files the user sent to find it.
Hi, I was hoping to get some help on the following topic: I have a fillable PDF form created in Adobe Acrobat XI Standard (also have a Pro version on another laptop) and I am trying find the most efficient way to insert a page with non-merged fields. I have a document that has one page that is sometimes repeated (depending on how many observations we find). At this time, one page with certain fields is created in a fillable form and when I try to add/insert the same page again, fields are merged and the same already filled text repeats itself. I can go in and change the name and numbering of each field, but I was wondering if there is a more efficient way? Either with coding or through a PDF Portfolio, which I have not used yet. Thank you.
Hello, I'm looking to create an if-if-then calculation in my Adobe Acrobat Pro DC. There are 3 total fields being utilized, A, B, and C, all with qualitative values (no numbers).A and B are both drop down menus, each with 3 options. Out of the 9 total combinations between Fields A and B, there will be a return for Field C. The goal is for me to have an Adobe Acrobat where C will dynamically change based on what's in A and B. Can anyone assist me in what the javascript code would look like based on what I need done?
I need a keystroke script to add a dash after the 3 first number if the user don’t enter one. I can’t use an Arbitrary Mask since I have a validation script to allow number between 7 and 11 digits only. Can we merge the validation with a keystroke? Or in a format script?
I want to change the text color in the text field to red according to the result, but I don't know how.In the following cases, I want to change the result of "! Over!" to Red color.I need your advice. Thank you. ==== var GetNextDAY = this.getField("Next-Birth-DAY").value;var NextDAY = new Date(GetNextDAY);var TODAY = new Date();var HowMany = (NextDAY - TODAY)/24/60/60/1000; if(TODAY > NextDAY){ event.value = ('!Over!');} else{event.value = (HowMany.toFixed()+'Days');}; ====
Is there a way to access/change the default properties for a markup annotation using Javascript? Since it is a dynamic toolbar and dialog based on the type of markup selected I can't find the properties or methods. A second question would be how to find the properties/methods for a dynamic toolbar or dialog. I have searched the documentation and can't seem to find it.Thank you so much for any assistance provided.
I think it's a very simple question,but I'm a beginner who has already spent two days on this issue. ①The date listed in the date field "Day_A"②Read it in the date field "Day_B", list it there, and③Write in a date field "Day_C". There is a little reason and I have to follow the above steps.I have to write these code only in "Day_B".Of course all of these are Date fields. Field "Day_A" and Field "Day_C" can not for use.Field “Day_A” → Field “Day_B” is easy.Field “Day_B” → Field “Day_C” I don’t know how to write the code to write to . ===★The field where the code is written is "Day_B". //Get date field DayA. //Revert to date object.var GetDayA = this.getField("Day_A").value;var DayA = new Date(GetDayA); //No need this code.. //var GetDayB = this.getField("Day_B").v
I’m able to create fields on everypages of a PDF using this: for (var nPage = 0; nPage < this.numPages ; nPage++) { var f = this.addField("myField", "text", nPage, [200, 600, 300, 660]); } or to a specific pages: //Page 2 var f = this.addField("myField", "text", 1, [200, 600, 300, 660]); or all pages except the first or the last.But now I need to add fields to a specific set of page ex: 2-4, 6. It will probably involve an array with a loop. But I’m lost.Any clue on how to create an array of pages numbers, and loop the process of creating fields on them? Or any tutorials (simple and clear) on how to create/use arrays and loops would be welcomed. Thanks!
English:Can you help me?A customer of ours has a problem with Adobe reader.Suppose the customer would use the Adobe reader for a week, so 7 days, it would fail 4 times if not more.What happens is that when he starts adobe and then opens a file and when he wants to send it by mail and when he fills in the correct email address.And when he clicks on send, it gets stuck every time.It looks like the screen is frozen. _____________________________________________________________________________________________________Nederlands:Kunt u mij helpen?Een klant van ons heeft een probleem met Adobe reader.Stel de klant zou een week van 7 dagen Adobe reader gebruiken dan zou het 4x uitvallen, als het niet meer is.Wat er dan gebeurt is dat als hij adobe opstart en dan een bestand opent en als hij dan via de mail wilt versturen en hierna vult hij de desbetreffende email adres in.Als hij dan op verzenden klikt dan loopt hij telkens vast.Het lijkt alsof het scherm bevroren is.
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.