Unlock the power of Acrobat SDK through our community.
Recently active
I would like to split a text field, named Client1, to extract just the first word using a space as the delimiter. Here is what I've put together from reasearch, but it isn't working when placed as a custom calculation script in a read only text field: var str1 = this.getField("Client1").value;var res1 = str1.split(" ", 1);event.value = res1 I think I'm missing something in going from the array produced by var res1 to the desired event.value for the field. I appreciate a point in the right direction - thanks!
Hello. I'm creating a simple script to place form fields on a document.There is a high probability that at least one of the fields will have to be moved at run time due to some variability in the document layout. Is there a way to programatically enter form edit mode at the end of my script? I realize it only saves a button click but if it's possible, why not
I need the javascript code that would allow me to have a check box (box1) to be automatically checked, when three check boxes (box2, box3, box4) are all checked. If one of the three check boxes are unchecked, then check box (box1) becomes unchecked as well. Also, check box1 cannot be unchecked or checked manually. Hopefully that makes sense. Thanks, Dave
I need help with writing a javascript code for a series of dropdown lists in a fillable PDF document. I want the first dropdown list to determine the options available in the second and third dropdown list. For example, if someone selects 1.1 from the list of available options, they can only select 11 from the second dropdown list and 0010 from the third dropdown list. Another example would be that if the user selects 1.2 from the first dropdown list, they could only select 12, 15, or 16 from the second dropdown list and from a series of options (0020, 0040, 0050, etc.) from the third dropdown list. Can anyone help me with creating these relationships?
When I go to my form and adjust properties for the fillable fields (such as turning a field into a date, SSN, or phone number), the formatting only works when I press "preview" in Acrobat Pro. When I save it to my computer and then go to open it as a client would in an email, the formatting is no longer there. What is wrong?
how to add acrobat javascript to set document actions automatically.I would like to add javascript to "document will save" action in document action menu of Acrobat automatically. Any guidance will be much appreciated. Thank you,Nivi
Heya everyone,for a small project, I am trying to avoid coding and would like users to be able to swift through documents using a pdf as index. Picture it like this:User receives a zipped Folder( Folder A) via Mail,unpacks it on Desktop,finds inside this a Folder B and a pdf.In the pdf, several links aim todocuments inside Folder B.Problem is, Acrobat Pro DC does not allow me to configurate the Hyperlink URL as I would probably need: file://C:/Users/username/Desktop/FolderA/FolderB/InterestingStuff.pdf (that would be for windows). If the User do not use Windows but Apple or Linux, the link will not work. The link will also not work if the user move the folder somewhere else.Is it something i could deal with using a Script? I am literally starting to learn JS, so I feel it could be used for that. something like:" please open file x, which is in FolderB, inside same FolderA as pdf."Hope it is understandable. I appreciate any idea.
Hello Everybody, I may need help although I jave been searching a lot around but I still have problems: I have created a fillable form in Pro DC, with a button to spawn additional pages on user side.My button Works with the script: //"var a = this.getTemplate("NewNC");a.spawn({nPage: pageNum + 1, bRename: true, bOverlay: false});" // and so far it works well. Then I have been looking how to have a page numbering system which will update itself automatically and i found the option to create a text form field with the calculated script: //"event.target.value = event.target.page + 1;"// My problem is that when I create all these page numbering fields it works well up to page 9, and after page 9 I have results which are decimals like 0.6, 0.3... which is not correct. Do you know what I can do to get rid of this decimal presentation ?? Many thanks in advance for your help & support.Have a nice day.
I am using the code below to get date and time stamp on my file but I also want to add serial number with it which is unique to identify it later when I see list of that. Can anyone please help.// get the current date and timevar d = new Date();this.getField("UniqueNumber").value = util.printd("yymmdd-HHMMss", d);
I wrote a script to merge the data of different form in a cvs file attached to a document.Everything works fine, execpt for the accented characters which don't appear correctly in the .csv file.For exporting the data, I use the util.streamFromString with utf-8 setting.I tryed all other setting but no one is correct.Is there a way to export correctly the accented characters?FYI, merging data with the Acrobat tool works fine.Thanks for your answer.
I'm still a newbie with forms and I've tried to look at all the posts to find an asswer but it's all latin to me.I would like to show/hide a field when a seperate field is filled.Ex. Field "A" is empty = Field "B" is hidden. Field "A" is filled = Field "B" is showing.Field A is a manually entered field. Field B is read-only.I know this is easy task probably for most PDF form builders but I'm only a few weeks in. Any help is much appreciated.Cliff
Is it possible to convert a file that is bigger than 100 MB?I have a PDF-file that is 128MB that needs to be converted to word.Is it possible to convert a 128MB file from PDF to word?Thank you,
Hello, I am looking for a contact about Acrobat Plugin Signing.We have developed an internal plugin, which we would like to have classified as secure.I hope someone can provide me the necessary information.
Hi,I have an adobe form in which I need to calculate a value's variance from a range. For example, if the range is $1,000.00 to $2,500.00, and the value is $3,000.00, I need it to return a variance of $500.00. If the value was $1,500.00, I need it to return a variance of $0.00 since it falls in the range. There may be occasions in which the range is $0.00 to $0.00, in which case any value would be a variance. I have a built an adobe form with the following form fields:1.) Low End of Range (Set to $ Format) 2.) High End of Range (Set to $ Format)3.) Actual (Set to $ Format)4.) Average (Set to $ Format, automatically generates the average based on the entry to "Actual" field)5.) $ Variance (Set to $ Format, automatically calculates the $ variance of the average to the ranges defined in 1 and 2 above)6.) % Variance (Set to % Format, to automatically valculate the % variance of the average to the ranges defined in 1 and 2 above) The problem I am having is when the user
I've been attempting to populate IRS tax forms with VBA.--For text-type fields, I can just set Fields(<field name>).Value to the desired string, and the value is correctly stored.--Checkboxes, however, although they appear to be populated when I view the form in the Acrobat window before closing it, come up blank when the form is next opened in Acrobat or Reader.--By browsing the internal PDF structure in Preflight, I find that my populating code has correctly set the checkbox value (V), the AP, and the AS values for the checkbox in the Fields object of the AcroForm. However, it has not set the correct values for the checkboxes in the tags in the datasets code of the XFA object, whereas it has done so for the text fields.--Call to Adobe's service line was of no avail; as soon as the operator heard the letters "XFA", she had all she needed to give me the brushoff: the form was created in LiveCycle Designer, it's not Acrobat's problem, I'll have to purchase Adobe Experience Manager
I have a work excel sheet with multiple columns (for security purposes we will pretend its a bank, where column A=account name B=account number C=co-account owner D=Amount in account) and 10,000 rows (lots of people in bank). I have a PDF with a table that this information needs to go into, but not all 10,000 rows. I want to set it up where on my PDF in the blank table I can type column A, B, and C information and it will auto-search the excel document to auto-populate column D for that row. Is this even possible to do? And is it possible to have the excel sheet embedded into the PDF so I dont need a second document? (non-tech savvy people at my workpalce). If it is possible, but impossible to have it embedded, please let me know!!!!
Hello,when trying to open PDF where some font is not installed document does not generate as should and outputs error. Under properties it says that font is embedded but does not seem like.Is it possible to embed font to be used where specific font is not installed?
Hello, I'm trying to use javascript within adobe acrobat to make an external call using a web service and integrating with an SSO platform. While trying to pull the results of call back into PDF I get error "NotAllowedError: security settings prevent access to this property or method" Is there a way to surpass that setting? What would the implications be?
Is there any bug in the Java Script Modulo?I have to add to my form validation of an account number. The problem is that it is validating by modulo of 30 digits number. I did everything right but it came out that my accounts were wrong. Each one. So I checked one by one and looks like modulo is broken after reaching 24 digits.Just check this validation script: app.alert("10 digits - "+1000000000%10); app.alert("20 digits - "+10000000000000000000%10); app.alert("21 digits - "+100000000000000000000%10); app.alert("22 digits - "+1000000000000000000000%10); app.alert("23 digits - "+10000000000000000000000%10); app.alert("24 digits - "+100000000000000000000000%10); Any idea how to bypass that? I can't do anything else besides modulo by 97 to validate bank account.
Hi All,I am new to the environment, My requirement We created some custom fields for pdf document and we created a pdf form as well. Now our requirement is what data is available in Custom Properties it has to auto fill in the pdf form. I heard we can achive using javascript. Could someone please help me on this.
I often have the experience of using forms wizard in acrobat to create an acrobat form from an existing document and the wizard fails to find all of the "fill-able" fields.As an example, just today I took a patient information intake document that a local doctor had posted on his clinic's website. This document was a PDF but it was simply a "print it then fill it out by hand and turn it in" type of form. So after downloading it to my PC, I started Acrobat and forms wizard. I estimate that the form contained about 60 fields and Acrobat's forms wizard failed to see about 25% of those fields. Most of the missed fields were check boxes but some were text boxes.In the 8 years I have had Acrobat, this has been my experience the vast majority of the time and the percentage of fields missed varies but is usually around 20% to 25%. I end up having to edit the built form to add the remaining fields. This can be quite time consuming.Anyone have ideas on how to improve the Acrobat forms wizard so
Hello, it is possible change color for part of text in "sticky note" annotation tool (for all of comments)?i have 6-8 digit in comment and for better recognizing i would like to change color for this digits. Regex and some "for loop" command i gues, but acrobat DOM and javascript it is not my Ligue 😕😕can anyone helpme with this? Thank you very much. or link here:preview PDF
Script in the document "will print" action executes only after opening print dialog box.Why it doesn't execute before opening print dialog box?I saw it in a different pdf file (unfortunately can't edit it because of security settings), where when I click print icon from menu item, it validates the form and then it opens print dialog box. But when I try it in my pdf form, it doesn't work.I want to execute the script before opening the print dialog box. Is there a way to do it? Please help me.
Looking to upgrade work documents. There's a lot of paperwork to fill out, sometimes repeating the same information multiple times. One aspect is that we have to lookup data on an embedded excel sheet that works kind of like a book. Column A = book title, B=Page, C=paragraph D=sentence and each row is a sentence. Is there a way to "attach" an excel sheet to adobe, and somehow write a program or format it so it will auto populate the D column if given the Columns A-C and they are all in the same row? I have heard Indesign might be a suitable program to make this, but still don't know how to implement it. I really don't want to make a matrix in java with all the data because there are THOUSANDS of columns. Any help is appreciated.
Hi,I am creating a form in which I need assistance creating a JavaScript calculation. Section 1 - I have a section of the form in which there are four (4) fields to enter data for a specific customer:NameAddressPhoneEmailThere are four areas to enter this information (Customer 1, 2, 3, and 4).On the next page, in Section 2, there is a similar format requesting the same type information. In some cases, the information being entered may have already been entered for a customer in Section 1. Ordinarily, in MS Word, we would copy and paste, but there is not a way to copy and paste multiple fields for the end user. I would like to setup a drop down menu with options to automatically prefill in Section 2.Example: In Section 2, I can select "Customer 2" from the drop down menu and the same data I entered in Section 1 will appear in the fields for Section 2. However, as I previously said, it is possible that the customers being entered in Section 2 would be completely different
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.