『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the power of Acrobat SDK through our community.
新着順
On the preprint event of my LiveCycle Designer (9.0.0.2) form I have a Java if statement that checks if textboxes are null.I want to check a textbox to see if it has a folder path entered eg. \\network1\Public\InBox\.But I'm hitting a brick wall with my If statement...Please help
The title of this question is a title I found in the SDK documentation. It's a very short section that includes this text:You can extend the functionality of the IAC interfaces by writing plug-ins that use core API objects that are not already part of the IAC support system. I'm interested in finding more documentation on this topic. Exactly how does a custom plug-in expose functionality to the IAC?Does anyone have experience with this topic, and/or know of any documentation on it?
When the sample pdf file built by successive updates in Appendix G of the PDF Reference v 1.7 (G.6.1-G.6.4) is open by the Adobe Reader DC (or Acrobat DC) the annotations added in Stage 4 having reused pdf object numbers (8, 9) are not shown. The other annotation having a new object number (12) is shown.However, if new object numbers are given to the annotations instead of reusing the numbers of deleted objects in Stage 3, then all annotations are shown.Imho, the original example seems to be correct, why are the annotations reusing object numbers not shown?Using this update instead of the one shown in the PDF Reference displays all annotations correctly (remove empty lines if you cut and paste):7 0 obj[ 10 0 R11 0 R13 0 R14 0 R12 0 R]endobj13 0 obj<< /Type /Annot/Subtype /Text/Rect [ 58 657 172 742 ]/Contents ( New Text #1 )/Open true>>endobj14 0 obj<< /Type /Annot/Subtype /Text/Rect [ 389 459 570 537 ]/Contents ( New Text #2 )/Open false>>endobj12 0 obj&l
We're getting different result output when we use the COM to export a PDF into a docx vs manually opening a PDF in Acrobat and exporting to docx. It seems the manual version looks much cleaner while via COM looks old and dated. Anyone know why?
Hi,I have three checkboxes in my form named checkbox1, checkbox2 and checkbox3.I wish the following to happen:If checkbox1 is checked, then:• checkbox2 and checkbox3 also becomes checked• but at the same time checkbox 2 and checkbox3 also become disabled (by disabledI mean not checkable, not clickable).I have this script that does half the job, it disables checkbox 2 and checkbox3 when checkbox1 is checked:// set readonly property based on the value of this field compared to "Off";this.getField("checkbox2").readonly = (event.target.value != "Off");this.getField("checkbox3").readonly = (event.target.value != "Off");Though, as described above, I want checkbox2 and checkbox3 to become both checked and disabled at the same time.How would this script look like?Thanks for your help!Greatings,Dennis (Javascript beginner)
I have an order form which has six items for sale. The first field on each item is the number of items the customer is purchasing. The second field is a hidden field which creates the cost of the item. The third field is simply first field + second field = total cost for that item. There are another five lines of exactly the same code. The problem comes in with the final Grand Total line. I wasn't able to simply perform a sum function and pick my fields. I had to do a custom calculation. It works. However, if the person picks something from line one and skips to line three, the grand total turns into a mess.Examples:Field One (how many, limited to three characters - a/k/a "order.0.0")Field Two (hidden - validate value of 75 to 75, or whatever each line costs - a/k/a "cost.0.0")Field Three (custom calculation script):var a = this.getField("order.0.0")if(a.value!=0)event.value = a.value * 75elseevent.value = ""Each line is assigned a different variable, and the "a.value" chan
Hi, I use extensively the annotations of PDF files, especially the Highlight type.More precisely, I use the annotation "subject property".I'm using it to identify each annotation with many subjects.For example, I can write the following subjects in the subject property of a specific annotation: scientific method; scientific truth; Karl Popper; testability; confirmation; As you can see, I separate each subject with a semicolon and each annotation has many subjects. Keep in mind that I work with dozens of PDF files, so I have hundreds of annotations and hundreds of topics. The problem is that I do not know of any PDF software that can extract these topics and present them in alphabetical order so that I can track my topics. I can search within comments but it is not sufficient since I have to remember each subject by hearth or to write them down on a paper. I need to product a list of all my subject (which are separated by semicolons in the subject property of each a
Hi all,I'm a coding noob and can do basic stuff but I can not for the life of me figure out how to code a check box (checkall) to select yes on 20 or so radio buttons (radio1-20)for marking rather than having to select each one. But I still need to be able to change some individual radio buttons to no and if unselected clear all radiobox if required. Can someone point me in the right direction. I assume I need to create an array and code on a mouse up for the check box. Just not sure how to proceed.
Hi,My name is Andrea, and I am working on a software that will be used for the machines sold by the firm that I am working for.I would like to know if I can develop the acroPDF activex component within my software.Best regards,Andrea
Earlier, I asked how to hide values if the the value=0 and got the correct script to put in.The script I used for this was:var amount = Number(this.getField("Qty2").value) * Number(this.getField("UP2").value);event.value = (amount==0) ? "" : amount;However, the sum function for the "Subtotal" field is now not updating. I am using the sum function in the calculator tab. Am I suppose to put in a script now or can I still use the sum function? Please see the snapshot below. Thanks!
Hello I'm building a fillable form where if the field "Family Member Member1" is filled than the field "age1" becomes required.What I'm having trouble with is once "age1" is required id like to make an if-then statement where it looks to see if "age1" is required than on blur if left blank to prompt message "cannot be left blank".please help
I ask this because I have and if/then statement set up where if a field has a keyword inputted, then when a submit button is pushed it will send an email to one of two groups. I'm changing it because users are not "reading" the instructions and half the time, are not putting in the keyword when they should be so it's being emailed to the wrong group.So I want to change the "if/then" to a different field but that field is a drop-down menu and it doesn't work with the ".valueAsString.indexOf("Keyword") == 0.Here's part of what I'm working with:var keyWord = (this.getField("Org").valueAsString.indexOf("Company Name") == 0);if (this.getField("Signature").value != "" && keyWord == true) { this.mailDoc({bUI:true, cTo:sendTo, cCc:copyTo...I have to run this script in the Button Field.
Hello,I am creating an invoice form where I've put in the calcuations to generate an amount for the "Amount" field. However, it's showing 0.00 where the "Amount" field is zero. How do I make it that it shows nothing when it's zero. I tried using the following script in the Custom Calculation Script under the calculation tab. Amount2.value = this.getfield("Qty2").value * this.getfield("UP2").value;if (Amount2.value == 0) Amount2.value = "";When inputting this, the field just becomes blank.Can anyone help meÉ
Please Help!!!!Company stamp will be on every page Left-Bottom corner. Also Stamp with Signature will be on the last page. Both (Stamp and Stamp + Signature) must be password protectedIm more intereted in auto placing of stamp abd signature upon typing a password.Thanks advance
I have a menu and a sub menu list, which should have a scroll bar as i have limited page size according to my User Interface.
Here is my attempted code:var Datebegin = util.scand("dd/mm/yy", this.getField("WeekBegin").valueAsString); // create date object using WeekNumber inputvar Dateend = util.scand("dd/mm/yy", this.getField("WeekEnd").valueAsString); // create date object using WeekEnd inputvar theSubject = this.getField("NAME").value +"'s week " + this.getField("WeekNumber").value + " Timesheet from " + this.getField("Datebegin").value + " To " + this.getField("Dateend").value this.mailDoc({ bUI: false, cTo: this.getField("Email1").value, cCc: this.getField("Email2").value, cSubject: theSubject, cMsg: "This is " + this.getField("NAME").value +"'s week " + this.getField("WeekNumber").value + " Timesheet from " + this.getField("Datebegin").value + " To " + this.getField("Dateend").value });However when I have the WeekBegin(ddmmyy) & WeekEnd(ddmmyy) fields filled in. Debugger gives me:TypeError: this.getField("Datebegin") is nullTypeE
/*** Get the ISO week date week number */Date.prototype.getWeek = function () { // Create a copy of this date object; var target = new Date(this.valueOf()); //var target = new Date(this.getField("WeekBegin").value); // ISO week date weeks start on Monday; // so correct the day number; var dayNr = (this.getDay() + 6) % 7; // ISO 8601 states that week 1 is the week; // with the first Thursday of that year.; // Set the target date to the Thursday in the target week; target.setDate(target.getDate() - dayNr + 3); // Store the millisecond value of the target date; var firstThursday = target.valueOf(); // Set the target to the first Thursday of the year; // First set the target to January first target.se
We wrote a 32 bit application that uses a WPF webbrowser control to view html pages. In some of the html pages, we have links to pdfs that launch in a separate internet explorer window. We recently switched to a new version of Adobe Reader DC as the default pdf viewer and noticed issues loading pdfs. The IE window launches from the application, but it shows a blank screen and an error eventually pops up. If you use internet explorer instead of the app to view the html page and select the pdf link, a new window showing the pdf is displayed correctly.The problem can be avoided if I turn off protected mode in Adobe Reader. But, circumventing the security sandbox doesn't seem like a good long term solution. Also, the problem seems inconsistent. It works fine on some PCs with protection mode on and not on others. All PCs were tested with different versions of Windows 10 ranging from 1607 to the latest.I've spent days trying to find a solution.
I add a link to Page by JS:l = addLink(p, [r2[4], r2[5], r2[2], r2[3]]);l.borderColor = color.red;l.borderWidth = 1;l.setAction("this.pageNum = " + dctPageName[iPageGoto] );Type of Action is: Run a Javascript:How can set type of Action is [Go to a page in docment]?
I have a PDF form, where I selected a specific font that must be used (i.e. Avenir LT Com). The font is legally installed on the machine and the PDF form is used only on that machine.The font works in a form, except all accented characters are not in Avenir, but Arial, like the font doesn't have them - but it has.I have used this workflow before and it worked for different non-standard font no problem, but for this and several others it doesn't work. Why it works for some, and why not for others? And why why why it works half-way, without accented characters?I have Acrobat DC (CC subscriber) and Windows 7. Tried another machine with the same problem.Thank you very much
Hello. i have varv1 and varv2. and i want varv2<=varv1 if not it wrongI START LIKE THIS// Get field values as numbers var v1 = +getField("Textfield66").value; var v2 = +getField("Textfield67").value;how can i end it?Thanks
I have a form with 10 fields (type: number). The first field is Income. The remaining input fields are other payroll related numbers in which User would type a number or select from options that return a number. There are also ten other read-only fields that run calculations based on the input fields as user updates them. Because of "Order of Calculation", if User completes any number of input fields, and then wishes to test a different amount in Income in that first field, the calculable read-only fields are unaffected (in other words, the calculations remain related to the original Income input, not the updated Income input). My current solution is to have the entire form reset to zeros upon mouse-down in Income. This is an unsatisfactory semi-solution, because User must go through and re-type or select the remaining 9 fields again. I would rather have all the read-only fields simply recalculate upon mouse exit from Income. If you know of a way to do this - especially without writing
Hi I create an interactive PDF files up to 2M, when I fill in data and saves the filethe file grows. In the current case file grows from 1.9M to 11MWhy did the file grow? How can I prevent such a large change in a file?I have Acroat Reader DC ThanksRonen
Hi Is there something (script or so) to create a reading bar on top of a PDF document,that is moveable up and down and sticks to the document as you scroll the document itself?
Hi,Wanted to check if the below activity is possible using the javascript if yes any help ?As a part of my process i have to save all the processing related document in to a folder, and at the end of the day have to create a single PDF file for each folder which will include all the files in that folder (PDF as well as JPG)so just wanted to check if this entire activity is possible using jave script, where i will gv path to the master folder and it will create the pdf's for each subfolder.Thanks
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.