『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
I have a PDF checklist with 12 checkboxes named Pass1.0, Pass1.1 and so on up to Pass1.11. There's a Visible text field called CompletePrompt at the top of the page on top of a Hidden signature field. There is a Sign Checklist button at the bottom of the page. When clicked, the following js runs: this.getField("CompletePrompt").display = display.hidden;this.getField("ReviewerSignature").display = display.visible;this.getField("ReviewerSignature").setFocus();this.getField("ReviewerSignature").strokeColor = color.red; I want this to happen if and only if every one of the 12 checkboxes is checked. If even one box is blank, I want the script to end and trigger an app.alert without toggling the visibility of the other fields.My current effort ended in: var f = this.getField("Pass1");if (f.valueAsString == "Off") { app.alert({cMsg:"Check all Checkboxes to Sign"}); } else if (f.valueAsString == "Yes") { this.getField("CompletePrompt").display =
//This is my code now.var th = ['', 'thousand', 'million', 'billion', 'trillion'];var dg = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'];var tn = ['ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen'];var tw = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety'];function toWords(s) { s = s.toString(); s = s.replace(/[\, ]/g, ''); if (s != parseFloat(s)) return 'not a number'; var x = s.indexOf('.'); if (x == -1) x = s.length; if (x > 15) return 'too big'; var n = s.split(''); var str = ''; var sk = 0; for (var i = 0; i < x; i++) { if ((x - i) % 3 == 2) { if (n == '1') { &
Would like to put some javascript code into the form open event.Cant find where to insert the code?
Good afternoon!The code below compiles just fine and I have no missing references, but when I reach the For Each block, there are no FormField items to process (and the loop is not entered).Here are the references:I'm using Adobe Acrobat Standard DC, 2015 Release (Classic) | Version 2015.006.30434. Do I need the Professional version for this code to work?I've spent the better part of the day trying to figure out what I thought would be a pretty simple task. What I want to do is loop through a list of several hundred PDF files, open them, find a specific text string, modify it, slightly expand the width of the text box that contains it, then save/close.I've found code to find and select the string (AVDoc.FindText), but nothing that allows me to change it (e.g. A300-000A-T-1 to A300-000A-T-101).There are some relatively cryptic (cryptic to me anyway) posts out there regarding JSO, but I'm not having much luck with that so far. Most of them talk about adding items to the form, not changin
I reinstalled Adobe Acrobat 8 Professional on a new laptop after the old PC crashed. Following successful installation I tried to "Activate" the software and received the following error:"Registration connection error" "We were unable to connect to Adobe to Register your product."How can I resolve the issue and activate the software? I tried exiting the software and registering again, but received the same error. I had previously activated the software back in 2006 on an old PC (which is now defunct.)
Calculate dob and print as Year, month and date Like (29 years 8 months 24 days). and is there any way to vadidate normal text box as mm/dd/yyyy ?
The JSOFindWordVB sample app finds a word in a pdf, works great, but will not find a date. I copy the date from the pdf, so I know it's the same, paste in the query field and it does not find it? Why?
I don't know if this is possible, but is there a way to set a drop down box to move to a certain item when you start to type that item in the box?I have a drop down box that will need over 300 different items to choose from and the user is wanting it so that if you start typing a certain item, it will automatically scroll to that item so you don't have to scroll through all 300 different items.Is this even possible? I have Adobe Acrobat 8 Professional and Adobe LiveCycle Designer ES4 that I can use.Any help is appreciatedThanks
Hi, MastersI created one html page which can open the pdf and go to the target destination, under the guidance of your masters here.Now, I need to detect the name of the current selected destination,because some of the JS within that document need to know the current selected destination in order to shown some guidance information to the user.Is there any way that I can detect the current selected destination with JS? Or could there be any other way to let me know where I am in the current document?Thanks.
Hello everyone, I need to make sure that a digital signature field was signed by a particular trusted provider. I'm getting the properties of the signature through var f = this.getField ("sign_professional"); var Info = f.signatureInfo (); but I can not get any data referring to the provider of that firm, (I'm not talking about the person who makes the signature, I'm talking about the trusted provider through which the signature was obtained), thank you very much!
Hey everyone,I hope you guys are able to help.For work I would like to create a map where a bike follows a route. The bike is supposed to follow the distance of 260 miles and every time some one IRL cycles x amount of miles I want to be able to add information and the bike moves. I would also like for no one to see while I'm putting in new data. It will all be projected and I would like them to only see the bike moving.Is there anyone who can help?Thanks,
I have set up a pdf form that includes a large number of fields with the required property turned on. I activated the required property by adding a "submit" button with a mailto: action. Is there another action that I could use in case the form users don't want to genterate an email or another way to activate the required field property?Thanks for the help!Ken K.
Hi i need help on how to run a java script that puts a stamp/text on the first page of every bookmark. does anyone know how to do this?
Hello, Links in newly created PDFs from Word now try to open in my browser instead of their native program. That is, if I have a link to a PDF or Word document in a Word document and PDF it using the Acrobat tab and selecting "Create PDF", when I click on a link in the newly created PDF, it tries to open it in my browser and not Acrobat or Word and when I hover the Hand cursor over the link (see Screenshot #1 below), it now shows a "W" in the hand, which means "Open a web link", whereas links in documents that I created previously the same way have no "W" over the hand (see Screenshot #2 below) when I hold my cursor over a link in a PDF and they open into the correct program (Acrobat or Word) when I click on them.Screenshot #1:Screenshot #2:Somehow, PDFMaker (used from inside Word 2013) is now coding the resulting links in the PDFs as "Open a web link" (see Screenshot #3 below) instead of "Open a file":Screenshot #3:The files that used to be created (prior to 06/29/2016) have the Link
This can be done, but is a bit complex. Let's assume you have one dropdown and a text field named "Text1", then do the following:Create a document level script using the following script:function UpdateTextField(doc, fieldName, newValue) { var ar = []; // Get the values currently stored in the text field and // convert them to an array var v = doc.getField(fieldName).value; if (v.length > 0) { var ar = v.split(","); } // Do we already have newValue in the array? var foundIt = -1; for (var i=0; i<ar.length; i++) { if (ar[i] == newValue) { foundIt = i; break; } } if (foundIt != -1) { // remove the item ar.splice(i, 1); } else { // add the item at the end ar.push(newValue); } // If we have more than four elements, // remove the oldest one while (ar.length > 4) { ar.shift(); } // conver the array to a string this.getField(fieldName).value = ar.join(); }In your dropdown control, go to the Options tab and make sure that "commit selected values immediately" is selected, then go to
I'm trying to create a form that captures a lot of data, particularly vehicle accident data. Some of the item values are very long. What I would like to do is to allow those completing the form to select the Item value from the drop-down box, but populate the form with the export value, which I plan to have as numerical. So if we have item values of Apple, Banana, and Cookie, with corresponding export values of 1, 2, 3, when the user selected Banana, the form would display 2. Can that be done? Any help would be appreciated. Thank you.
help, a query you can create a toolbar for each pdf: and when you send the pdf by mail the person who opens it will open that toolbar ....
Can specific text be extracted from a pdf file?I have pdf's that have pictures, text, tables and just lines of text in them. The pictures are identified with a g-number, I would like to find a way to extract out all the g-numbers and put them in excel.Also there is another data set I would like to have extracted as well. But I figure if I can get one, the other should be similar.Thanks
Dear master:I created one HTML page based on the sample of AcroPDFInHTML, with small modification. Seems the function of setNamedDest does not work here. below is the code used in my html page. I set one bookmark named "N2" in my pdf file. The function setZoom(50) works fine in this page, but it does not go to the bookmark "N2". Is there anything missing in my code? or the function has been removed from the interface? I installed the adobe acrobat reader DC.Thanks in advance.<html><head><title></title><meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1"><meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"><script id="clientEventHandlersJS" language="javascript"><!--function Button1_onclick() {//set the URL ...Object1.src = Text1.value; Object1.setZoom(50);
Initially, there are three text field.If I input any word or number in field A, for exampleFinally, the word " - " will be automatically appeared in field B without any input.Similarly, If data in Field A is deleted, the word "-" will be removed automatically.How to make the relevant code in fillable PDF? Thank you very much!
these are the formulas3 separate cells=ROUND((10^7.96427)*10^((-1628.445/(T24+273.15)))*10^((-100151/(T24+273.15)^2)),2)=ROUND((10^7.96427)*10^((-1628.445/(T25+273.15)))*10^((-100151/(T25+273.15)^2)),2)=(Y27-(0.00066*760*(T24-T25)*(1+(0.00115*T25))))/Y26Thanks in advance
Initial:When I input 60 in Field A and 80 in field B. Nothing is appeared when the total amount is smaller than 100When I input 60 in Field A and 80 in field B. Alert is appeared when the total amount is greater than 100.Alert is appeared when the total amount is greater than 100. The Alert message is "the total amount cannot be exceed 100"How to make relevant javascript code for this activity?? Thank you.
1) Initially, Field A and Field B are visible for person to input.2) During input some words in Field A (eg. Peter)3) After input words, Field B is hidden. Person cannot input anything in Field B.4) If I delete the words in field A (Become blank), Field B becomes visible again.I don't know how to make the java-script code for this activity. Would you mind help me design? Thank You.
Hi everybody,does anybody know if it's possible to integrate some kind of java-script in a PDF file with the functionality to send an email as soon as some one opens the PDF on her or his PC?I think the app object should do this, but I didn't find any hints in the "Acrobat JavaScript Scripting Guide".Thank you all.
I have 2 custom stamp files that share the same DocumentID (I built one off the other). I'm unable to use both stamps at the same time and I believe it's because they share a DocumentID.They both show up in the stamp menu, but when I select Stamp 2 the one that shows is Stamp 1. IT also shows Stamp 1's thumbnail where the second should be. If I remove Stamp 1 I can use the second stamp just fine.Since I can't edit the DocID thru notepad (corrupts the pdf), how would I be able to do this via Javascript?
すでにアカウントをお持ちですか?ログイン
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
申し訳ございません。このファイルは、ダウンロードしても安全かどうか、内容を確認中です。数分後にもう一度お試しください。
申し訳ございませんが、当社のウイルススキャナは、このファイルをダウンロードすることは安全ではないと検出しました。