『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the power of Acrobat SDK through our community.
新着順
Hello All,thaks for your help! I have question regarding Digitial Signature, I create a custom script for the Digital Siganure and it's working fine, but I'm passing the null user name and Passoword/ wrong password it open the above page, is there any way we can hide this or disable it.I'm using the below box to pass the user name and passoword.
I want to enter a time in a field, but I want the system to automatically put in the colon. Example: I enter 830 and the system enters 8:30
I tried everything I can think of and just can't get this to work.In my "field1" validate tab I use this custom codeif(event.value > 0){event.target.textColor = color.blue;}else if(event.value < 0){event.target.textColor = color.red;}else if(event.value == 0){event.target.textColor = color.white;}field1 get it's value from another field. I want it to show if 0= white, if bigger then 0=blue, if lower then 0=red but the colors are mixed up,for example if number is 5 it should be blue but is white, 0 is red and -2 is blue but in field properties it shows correct color ( example in the field1 value is 5 it show white color but in properties it's blue) .If I enter value manually it doesn't change colors at all.
If I use this code for example AFNumber_Format(2, 0, 0, 0, "$", true); how can i get currency to show on right side of value? also can it have 2 currency symbol one on the left, and one on the right?
HiI have a pdf that contains dropdown menu for type of ID document. In my example, the dropdown option is 'passport'. I want to then create a script that will add my total number of 'crew' if the fields contain the 'passport' dropdown. Ie if I select 'passport' on a row, then automatically the total crew is 1. On next row, if i add 'passport' again, totla crew is now 2. If Passport is not selected on a row then it doesnt add that as a person. The drop down has to be selected to 'Passport' for it to register a person and then add it from each row if selected.
Total nubie here with no knowledge of javascript yet. I have one last item I need to complete a form I am working on. I need to take the amounts of two fields and check it against a drop down menu of Yes or No to determine if the items should be taxed 6%. The formula someone provided to me didn't work. It was:var a = this.getField("Item3_Amt").value; var b = this.getField("Item4Amt").value; var c = this.getField("Dropdown").value; if(c == "No"){event.value = "$0.00"; }else event.value = (a+b)*0.6; Unfortunately it doesn't work. Can anyone tell me what the problem might be?Also, after looking at the form a bit more I think it would work better to replace the dropdown with a check box. So what would a working formula look like with a checkbox instead of the dropdown.For you guys with the knowledge, your awesome! Thanks
Hi,I require some help regarding JS in Acrobat DC.I've been looking in every document and every corner of the internet and I just can't seem to find what I need.What I require is to programically get the format currently applied to a text field, (for example, none, number, percentage, etc.).To be clear, I do not need to know what type of data would currently be in the field's .value, as it can have nothing at all at that moment.What I need to know is what that field is currently formatted for (Properties > Format).Also, yes, I know you can just apply the right format to that field programmically likeAFNumber_Format(2, 0, 0, 0, "", true);That is also not what I want. I want to apply further code on the field only if it is configured for a wrong date or number format. And for that I need to know what format it has beforehand.I'm trying to develop scripts to automatically detect wrong formats being applied to certain fields in large files, please help me out if you have any clue.
G'Day All, I am creating a fillable form for our daily work sheet. We give each form a unique number so that they never double up. I want to use the initials of the Supervisors name and the date the form was signed to create the unique number.Is this even possible? Thanks everyone!
Hi again,In JavaScript I want to select a stamp and add it to the PDF (works fine so far): this.addAnnot({ type: "Stamp", page: 0, rect: [36, 72, 288, 144], AP: "#DApproved" }); The stamp is now placed to the exact position and size defined in the code.Now I want to allow the user to place the stamp where ever he wants. (like when you select a stamp from the stamp toolbar)How should I proceede?
I want to check through the Links in a PDF via a javascript, but the Link object only has 4 properties (which are it's physical properties) and only one method to set a javascript action. Is there any way to determine the URL (or any other action) that is set for the link via javascript?
I got a book from John Deubert "Extending Acrobat Forms with JavaScript". Is there books like that but newer date?
Hi All,I have created a PDF form which includes JavaScript scripts and sensitive data such as URL to Submit the PDF to.The form is an application form and I am hoping to allow clients to edit the data in the text fields but not be able to access to the code behind the scenes, i.e. the JavaScript and the submission URL. I had a quick look on Google but it seemed to be people wanting to lock the forms down as a whole, where I am hoping to still allow the client to edit some fields.Whats the best way to do this?
Hi, I have been trying to write an app that will allow a PDF(s) file to be indexed (create a pdx file set). SO this user does not have to open acrobat to create the full text catalog manually. After much research and reading and dead ends I believe I have finally come up with a plan of action. Acrobat DC Pro comes with a "catalog" plugin that appears to be able to create a PDX file. It seems the best method for me to access this catalog plugin (API?) is to write a C++ application to call the catalog functions. I have not developed in C++ for a while but I used to. I downloaded Microsoft Visual Studio to create my app.Now I have hit a deadend again. Trying to find some example of using Visual Studio to access the acrobat plugin but getting nowhere. I have been through the SDK but can't seem to make any head way. Any example of calling any of the acrobat plugins would be helpful - like the search plugin. Thanks for any advice.
Hello my friends, I've a problem which I am hoping will be solved with your help:)I made a pdf form with calculating net and gross price where customer can type how many of products wants to buy and it works all fine (attachment). The problem is when I want to make a discount (for example 10%) of total price if customer order 2 or more products and I'm stuck. Do you have any ideas how I can make it happen? I can write JavaScript code but I dont know how to implement it into pdf. Is it possible to use the total net price as a variable? Any ideas will be very valuable, cheers!
I have made a simple form in acrobat with text fields and two fields for an image to be added by the end user. When this is viewed on a microsoft surface or Ipad, the image field does not open a dialogue box to attach an image. Any suggestions
I’m creating a template in Word 2016, and I have a couple of issues. Most of the fields have an on entry macro associated with them to force text input for the prior field. A message box comes up if the user tabs out of the field without inputting text.My first issue is this: The last field, E-mail, has an on entry macro for the field before it, Extension, and an on exit macro so if the user tabs out of the E-mail field a message box comes up.When the user completes the Extension field and tabs to the E-mail field, if they tab out of the field without entering text a message box comes up letting the user know they need to enter text into that field. However, when the user clicks the OK button the cursor advances to the first input field (Dropdown1). I would like it to stay on the Extension field, Text 13. Below is my coding: Sub ForceEmail()Dim Msg, Style, Title, ResponseOn Error GoTo fErrorIf ActiveDocument.FormFields("Text13").Result = "" Then Msg = "You must enter t
Hello all,I am trying to create an if /then statement on a sales agreement that needs to calculate different amounts of tax based on the amount of the sale. I don't know if I am using the wrong field names or what but I keep getting syntax errors.We have a 6% sales tax with an additional Education tax of .5% up to $5000. Everything over $5000 is a 6% tax. The name of the cell that has the value of the subtotal of the sale in it is called SubTotal, the "Tool tip" name is "$_Row_1"Here is my equation description:I want to calculate the amount of tax to charge based on the amount in the "SubTotal" cell.If statement: If cell named SubTotal is < $5000If True: then SubTotal * 6.5% (.065)If False (greater than $5000): then subtract $5000 from the SubTotal amount and multiply it by 6% (.06) and add $325 ($325 is 6.5% of the first $5000) Here is what I put in the calculation field for "Sale Tax": if(SubTotal<5000, SubTotal*.065,((SubTotal-5000)*.06)+325) What am
After a sleep Acrobat Standard DC keeps asking for signing.I use Windows 10 64 bits.Is there a way to avoid this?Thanks for your help,Daniel
I'm trying to do this lesson i have from a book but it doesn't work.I do everything as described in lesson but my result is 11.00 and not 11:00.Can someone help?
I am long-time user of Acrobat Pro. I am accustomed to use proximity searches over multiple documents. I got a new Dell Win10 computer so upgraded to Pro DC. But "ALL OF THE WORDS" proximity search always produces same results as "ANY OF THE WORDS". I can't discover a reason except a flaw in DC. Should I resume Pro XI?
Is it possible to add a user entered duration to an entered time.For ExampleA field "starttime" entered by a userA field "enroute" entered by a userstarttime + enroute = newtime starttime is a time in 24hr formatenroute is a duration, 1h 15m for example, which is variable entered by the user up to 8 hours So if starttime is 16:24 and enroute is 1:15, newtime would be 17:39
Hi,I have been working on some folder-level scripts for a Win10 device which is using a free license of Acrobat Reader DC. I've tried to locate the 'Javascripts' folder on both user and app levels but both are undefined when I used the 'app.getPath("user","javascript");/app.getPath("app","javascript")' functions in the javascript console. I've even tried to manually create directories for them under "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\Javascripts" and "C:\Users\<user>\AppData\Roaming\Adobe\Privileged\DC\Javascripts" and other variants I stumbled across the internet but to no avail. The app just doesn't seem to recognise my .js file no matter where I put it. The current build version of Reader DC for this device is 2020.009.20074 Please help.Thanks.
Dear Team, I am an admin and need to have a solution of Adobe Acrobat DC pro for attaching/embedding PKCS7 signature in PDF both generated at runtime at server level. Kindly suggest the integration document for achieving the same. Our application is developed in PHP. Would acrobat SDK and JavaScript help us achieve this? Kindly confirm. Thanks & Regards,Sameer
I created an appalert to show a message when the document opens. When opening the document, you do not see the document itself in the background under the pop-up message. It has two strange boxes in the background. However, if another pdf is already open on my computer when opening the new document it opens normally with the alert message in front of the document as desired. Am I doing something wrong? I have attached two screen shots.
I have fieldA and button with custom dialog box.How would I incorporate app.alert into dialog box so it stops dialog box to pop if value in fieldA is less then 5?I know how to make code for app.alert:if(this.getField("fieldA").value < 5){ app.alert("Need value of 5 or more");I don't know how to put it inside dialog box so it stops it to execute.
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.