Unlock the power of Acrobat SDK through our community.
Recently active
Hi, I have two problems.1. How to stop value from increase? if value reach 8 I want to stop it there from increase further.2. In my text fields font size is set to auto but it doesn't work.As usual thanks in advance for helping.
Is there any mistake in this script?I wanted to add few variables in a pdf form, but it is not working: (I am a learner) (this.getField("A").value)*10+ (this.getField("B").value)/3.5+(this.getField("C").value)*2+(this.getField("D").value)/2+(this.getField("E").value)/4+(this.getField("F").value)/0.227+(this.getField("G").value)/2+ ((this.getField("H").value)||(this.getField("I").value))+((this.getField("Text1").value)||(this.getField("Text2").value) ||(this.getField("Text3").value)); Thanks,
Is there a way to make a form field in a pdf switch to read only after a user supplies an input value to the text box? Basically I have a design I converted into template that my client wants to send to different branches and have them personalize it by adding in their own information to make it local. Since the branches can email them to customers, it cannot look like it was a template and so I need the fields to disappear and only show the text. Read only is the only way I found that makes the fields inactive. But I cannot find a way or a script that converts them to read only after input. Also I have to keep in mind that most branches will only have Reader. Any help would be very much appreciate!I have been trying to figure this out for days with no luck and I have to get it back to my client as soon as I can. (I am pretty sure that none of the recipients would know how or have an e-signature to sign it in order to lock it up that way)
Hello! I have created a calendar that requires filling in an intial date and then other dates autopopulate. I am running into a strange thing where I enter the date and up to date field 9 is populated. But then I have to re-enter the date in the first field again in a slightly different format for date fields 10 and on to populate. For example, I can enter "9/3" and date field up to field 9 auto-populate. But then I have to enter it again as either "09/3" or "9/3/20" for the other fields to also fill in. I'm thinking it might have to do with the custom script I'm using in the auto-populated fields but don't see any issues. Anyway, I am perplexed so thought I would throw it out to see if anyone had ideas. thanks! Josie
Can javascript be used to change color of part of the text.Example: today was sunny day.can word "sunny" be yellow and rest of the text default color (black).I already tried CTRL+E but text in textbox is dynamic and it reset to default when changed.
Is there a way to have a javascript run when combining two PDF Forms? I need to hide specific fields in each form that are normally managed by a document level javascript function. It seems that when merging PDF files, the all javacript scripts embedded in the forms are stripped when merged using the combine files tool. If merging one file into an open file then only the scripts from file 2 are stripped. FYI, all functions and global variables in each form are unique. I created two forms, each of which has an error readonly form that dislayes if the document is not opened in Acrobat or Reader on either Mac or PC. Here is a screen shot of the warning message displayed on top of page 1. It is the first form in the field. The text and formationg was enteried into the field as ReadWrite then set to ReadOnly when finished.: At the to of the document level javascript of each form is the following (Unique variables and function nam
I'm trying to create a survey that will allow people to identify movies they do or do not like. I would then like people to pick, among the ones they do like, the ones they like best and among those they don't like, the ones they like the least. My idea is to copy all the yes items into a section 2, part a form, and all the no answers into a section 2, part b form, so that people can then select from those specific sections. Is there a relatively easy way to do this using javascript? The movies listed in section one will be selected as check boxes as opposed to radio buttons. Not sure if this matters at all, but thought worth mentioning. Thank you!
Hello All, I have to write a Java scrript to User not to upload Images for More than 45 kb. I have checked the Bible did not find anything related to images size Validation , Could you please help me with this.
Hi. I'm trying to import an image into an image field on a form by passing an argument. The argument is the fully qualified path + file. I saw the following short script in a post and I am trying to tweak it to make it work ... var a =this.getField ("Hidden Text").valueAsString;var b =this.getField ("Application Images(Screenshots)").valueAsString;event.target.buttonImportIcon(a+b); I have also tried to hard code the argument, and the field will not accept the image. [ event.target.buttonImportIcon("/C/myPath/Image1.jpg"); ]I get nothing ... Any suggestions would be much appreciated. Thanks!!
I want to make a box colored yellow to highlight a signature on a page if there is text in another box on that same page. I have put this code in the Text Field Properties > Validate > Run custom validation scriptif (event.value= (this.getField("Text_Box_With_Text_if").valueAsString=="")) event.target.fillColor = color.yellow;else event.target.fillColor = color.transparent; I have the Border color and fill color set to "No Color" in the appearance tab.What is going wrong?Thanks in advance.
I am using a drop box in a acrobat XI form and using the below code to populate timesheet fields depending on how many work orders have been done during the shift. If i execute the javascript in the calculate tab of the field it executes extremely fast, but won't let me input the field manually because it erases them on the next scan. If I put the code in the validate tab it executes extremely slow, like 4 seconds, but allows for manual time entries in the fields. I'v tried simplifying the code, function calls, and running as a text box, but it all comes out the same...am I stuck with the lag or does someone know a trick? Please and Thank You. //Reset the FROM and TO fieldsReset2()// Resets the below fields//Check selection and input time values// 1 Work Orderif (event.value == 1){this.getField("FROM21").value = "07:45";this.getField("TO21").value = "16:15";}// 2 Work Orderselse if (event.value == 2){this.getField("FROM21").value = "07:45";this.getField("TO21").value = "11:45";thi
Hi, I'm trying to fill out an application using Adobe Acrobat Reader DC version 2015.010.20056 that I just recently updated to. However now whenever I try to do the smallest change in the document it keeps crashing. I am on an extremely tight timeline to get this application done and would appreciate any help that can be provided! I am using a MacBook Air Mac OS X El Capitan 10.11.2Adobe Acrobat Reader DC Version 2015.010.20056
I have a PDF form where I have infomration about X customer. Call it Pickup Info. I then have another set of fields below that with info about Y customer. Call it Delivery Info. I am trying to create a one click button that will take the form filled text from "Delivery Info" and replace the current text in the fields under "Pickup Info". Thus allowing a 1 click swap of this text vs manualy copying the text over. Would this require java script? if so, would this be difficult to create a script for? I am not familar with Javescript, but understand the flow of Form creatation. Thanks for the help.
I have an embedded OLE-Object in my database application, wich has been created from a PDF-File.When I activate the OLE-Server Acrobat Reader DC starts always instead of Acrobat Pro IX.I have both applications installed and I would better use Acrobat Pro for OLE editing.How can I control wich application will be activated as Ole-Server ?
Hi all,I want to extract PDF text ( along with formatting properties like boldness, underline , etc.) in python. The open source tools that I have tried so far, are not able to do that.I also want to extract images from PDF documents.Does Adobe formally support any such function?
I put the signature fields on one page, but when it gets signed, the signature(s) goes the next page. How do I keep all of the signatures to one page?I am making electronic time sheets that people sign every week. It was a Microsoft Word file that was PDF'd. It is a landscape file with the signatures on the right hand side and the approver signature at the bottom of the page. Thank you.Kim
Hello All, I have a question , When I used the below method it's not able to call the web service, if pdf has 10 images on the pdf and size is 10kb each. Is there size limit when we used the below query.var fields = [];var Arrays =[];for (var i = 0; i <= this.numFields - 1; i++){fields.push(this.getNthFieldName(i));Arrays = fields.sort( function(a,b){return a - b; } );}var aSubmitFields = fields ;this.submitForm({cURL: "http://localhost/Ssvc/df",aFields: aSubmitFields,cSubmitAs: "FDF"});Is there any alternative way for doing this? Thanks
I would like to group multiple comments together using JavaScript. I can do it manually - select objects, right-click, group - but cannot find any data on how to do it using JavaScript. I would be appreciative if anyone could point me in the right direction on this. I am aware of the current issue with grouped objects not staying together when being moved, but I still need to use the functionality. Thanks!Nick
In my AcroFormI have a date field (DateOfInsp) I have a Fiscal Year field (FY) and a Quarter field (Qtr) I want to populate the FY (yyyy) field and the Qtr field (1,2,3,4) based on the date field The fiscal year for my organization starts 10-1 and ends 9-30 of the following year I am looking for the javascript to do this, or guidance so I can learn myself...I am pretty new and just want to automate my forms as much as possible and provide data validation whenever possible I have seen many posts related to this, but haven't figured it out yet... Any help is greatly appreciated
Does the Javascript API allow getting/setting these document properties:reading languagetagged PDFI can't see anything obvious in the May 2015 API reference.
I found this file under the Acrobat Reader DC folder. Can anyone tell me what it is? Also, should I get rid of it?F_CENTRAL_msvcr100_x86.1DEE2A86_2F57_3629_8107_A71DBB4DBED2 Thank you
I have a Radio Button Group with 2 choices(Group1) - a Yes and a No radio buttons. I would like for the color to change based on the which one is selected. When the No button is check, it should be Green and Yes should be white. When the Yes button is selected, it should be Red and the No should be white. I have this currently entered in the mouse upevent.target.fillColor = event.target.value=="Off" ? color.white : color.red;But it changes both of the buttons. ot the color choice of the button that is chosen. Any help would be appreciated. Thank you!
Hello All, I have a question regarding Image Field(Button). I have 5 image field on the pdf and I'm sending all the 5 field to the c#, but when I'm trying to save the pdf using c#, I'm able to access the Normal field With the value but not able to fidgure out the How I can map the Image field and Value. Ps: I don't have any issue reading the images or fields, not able to figure it out which field relates which image?As an exmple: I have image and I can set to Image field 5 but In my current document it's on Image Field-1. I don't want to hard code the field name. It should work like normal field: Doc1 Formname: test and Doc: 2form name :testI'm not able to map it correct. Is there any way we can find if image field as value ? Thanks Regards
I have 3 rows in which % is calculated of the total ... but some how the total of the 3 fields doesnot come to 100% . in some cases it totals correctly but when all the 3 fields have equal value their % of the total show 33% each which doesnot add to 100%..... below is the screenshot.. and also the link of the working file. Link to the working pdf file: https://www.dropbox.com/s/n49e6ta3xb3dlf5/Page%201%20GMS%20Form.pdf?dl=0 Thanks
Hi there! I have a registration form when the user must select one of three check box options, each checkbox has a different export value. I also have one dropdown list with "yes" or "no" as options, "yes" needs to equal 0 and "no" needs to equal $45.00.I have a text field where I want to calculate the checkbox option and add any "no"selection to it. I'm at a total loss and any help would be grealy appreciated. Thanks!
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.