Unlock the power of Acrobat SDK through our community.
Actividad reciente
Hi,I'm creating an interactive Bingo board so my student can complete activities at home. The parent will click the button to mark done. I found the following code to change the color of a button. If only once then set the fill color as blue and then apply the following JavaScript code as the MouseUp event of the button:event.target.fillColor = color.green; If you want it to change back and forth, use this code:event.target.fillColor = (color.equal(color.blue, event.target.fillColor)) ? color.green : color.blue; Is there a way to add to the change back and forth code to add words. I want add the word 'Done'? Blue would be blank. Once the button is clicked, it would change to green and the word done would appear. I actually would prefer yellow but I will just change the word. Also, is there a way to add the same property to all buttons at once or do I need to add the script to each bingo board?I really would like a transparent circle to cover the square but that
Hi, I have a list of items and each item has a point value that is summed up in a "Total" calculation. Is there a way that I can deactivate one or more items from beeing counted? Perfect would be a checkbox for each item, that I could click and the item would not be counted - without having to delete the item. And if I uncheck the checkbox it would be counted again? Tim
Hi there, I need to convert a PDF into MS Excel sheet using command line.Wondering if there is such thing exist in the Adobe world, I have Adobe Acrobat Distiller 2017 right now. However, I am open to buy some upgrade if command line way to convert a FPD into EXLS file. Thanks in advance for any help towards this matter.-Ahsan
Hi all, long time reader, first time poster. Thanks very much for all the help and info I've already managed to gather from here. So onto my question:I've used a custom format as a work around to the divide by zero errors. It works perfectly, but sometimes it will show 33% or 33.333% or even sometimes 33.3333% (33 just an example). What can I add to my script to make it so it has no decimals? Or worst case scenario, only 1 or 2 decimal places?Also, just thought of a side question, is it possible to have it show blank rather than NaN? The custom format script I've used is: var numerator = + getField ( " RMTimely " ) . value ;var denominator = + getField ( " RMTotal " ) . value;if ( denominator ! = = 0 ) {event . value = numerator / denominator ;} else {event.value = " " ;} Any help or guidance you can give me on this is much appreciated. Thanks in advance. Kyle
Hi,Can i open a word attachment in a pdf with Excel VBA?thx if someone have an answer. Best regardsAxel
Hello, I have a fillable PDF form that I have created. I have everything ready to go with the exception of submitting a form. I want the submit form button that I have created to email a copy of the PDF to the recipient. I have tried the native submit form action, and I have tried javascript to try and get the button to email a copy of the form. I can only get it to create a draft in the "Drafts" folder, and not send. I have searched the forums and the internet to try and find a solution. So far the only success I have is that it creates a draft. Can somebody help me and/or point me in the right direction?Thank you, Jeff
I have developed many of my employer's prodedures using AcroForms, which are used often. The forms submit, depending on the form, using either the submitForm() or mailDoc() method that will create an email populated with data from the form. Everyone's default email client is Outlook. Since yesterday afternoon, I've had several people come to me reporting issues with submitting a form. Thus far, I've had reports of three different forms having issues. The code didn't change. Something else must have changed—especially since I'm getting reports of forms utilizing both methods having the same issue. Was Acrobat DC or Reader DC updated? Was Outlook updated? If so, is there a workaroud/fix to this issue?
É possivel criar um formulário onde eu possa atribuir uma área que mude de cor ao clicar?Séria possivel ter uma lista de cores que eu possa escolher para aplicar naquela área?
Currently writing a form to change the value of a text field based on the radio button selected. The form im making has to do with "Normal Hours , Extended Hours and Holiday Hours". So when a tech is filling out the form he selects which set of hours he is in and the form auto fills the $ amount associated with that timeframe. So if he selects normal hours it shows a $ amount and changes if he selects a different radio button. My radio button group name is "Hours" and the field I need changed is "A01 Unit Price" I would like to do a custom calculation within the text field itself since I have 60+ field that I will need to add 3 unique variables to. Not sure the best way to accomplish this and any help or ideas would be appreciated!
I've created a custom stamp with the word PREPARED and two fields, one for identity name and one for date. No matter what I have tried, it is not filling in my name, and I have checked Preferences to make sure my name is present. This is my script:event.value = "by " + ((!identity.name | |identity.loginName !=(event.source.source | |this).Collab.user) ?(event.source.source | |this).Collab.user :identity.name) + " at " + event.value;I am using Acrobat Pro DC 2015, and I am only previewing the form right now, until it's ready to copy into the stamps folder.
I am new to Adobe Acrobat and am creating a form to calculate the average of a selection of boxes titled Ratings. My form needs to automatically calculate the average without counting boxes that have not been filled out. I looked through this community and was able to find a working formula I could adjust to fit my needs. The formula works great, but now I can't figure out how to tell the formula to calculate the average only down to one decimal point--so instead of getting 3.333333 repeating sometimes, I would like to see only 3.3. The formula I am using is this: var nSum = 0; nCnt = 0; for(var i=5;i<=10;i++) { var nVal = this.getField("Rating" + "_" + i).value; if(!/^\s*$/.test(nVal) && !isNaN(nVal)) { nCnt++; nSum += nVal; } } event.value = (nCnt > 0)?nSum/nCnt:"-"; How would I be able to adjus
Hello...I'm working on an evaluation form that has 5 "scores" to be added and then averaged. Each score could be 1, 1.5, 2, 2.5, 3 or N/A. Getting the total score is no problem...got that. BUT for the "average" field (for example), if N/A is selected for 2 of the 5 scores, the "average" function is still using 5 as a denominator instead of 3. How do you get the calculation to ignore "N/A" entries for the "average" field? PLEASE help!!!! I can attach the form if needed...Many thanks!!
Hello, Can anyone tell me how to create a print button that will print a page range, but only if data present on the page? Example:I have a ten-page pdf. Page one is the data entry page with five data fields (A, B, C, D, E). Pages 2 through 10 are template forms. Data entered into one or all of the data fields on page one populates pages 2 through 10. If I enter information into data fields A, B, and C, but leave D and E blank, there's no need to print all 9 pages, I only need to print pages 5, 6, and 9.
I am trying to install free trial of Acrobat pro on Mac OS X El Capitan 10.11.6 and get a failed install notice at 50-60%.
I have three fields: CALicense, ARLicense, and AgentLicense.I would like AgentLicence to show text from either/both CA and AR License fields depending on which is entered. I’m getting lost on the if condition part of the script – I’m thinking that a check for empty fields is necessary…? Here's the direction I'm thinking of: var lic1 = this.getField(“CALicense”).value;var lic2 = this.getField(“ARLicense”).value; if (lic1 = “” && lic2 = “”){event.value = “”;}if (CALicense has text but not ARLicense){event.value = “CA License #” + lic1;}If (RALicense has text but not CALicense){event.value = “ARLicense #) + lic2;}If (both CALicense and ARLicense both have text)}event.value = “CA License #” + lic1 + “ & ARLicense #” + lic2;}
We built a javascript that prompts a user for a file number and a file name - and based on the number they enter - it automatically saves the PDF on a shared drive with the format filename-filenumber.pdf - it has some logic built into to it to see if the file number starts with a given prefix - it files in in folder A vs folder B depending on the prefix. So for example - we file our files under a number like 123456 (if it was created before COVID) or DR123456 (if it was created during covid) and we have the following folder structure already setup:Shared DriveDR FilesDR123456DR123457DR123458etc.Existing Files123456123457123458etc. Our script works perfectley - however - we have come to realize that javascript has several short-falls: it is impossible to compress the PDF using javascript before you save - so we keep ending up with these PDFs that are above 35MB and can't be emailed. javascript can't create a folder in windows - so we have to ensure
To make life easier for our users we have created a button in Adobe that allows the user to save the file in a shared drive with a single click. // checkFD function checks to make sure the user has access to the shared drive function checkFD(){ var checkd = false; var checkn = false; app.beginPriv(); try{ //checks for the file this.importDataObject("myFile", "/192.168.3.57/checkthisfile.txt"); var myData = this.getDataObject("myFile"); }catch(e){ //alerts user if the shared drive is not found app.alert("F Drive not found, please establish VPN connection to office before using button."); app.endPriv(); return; } while (checkd == false){ //it asks the user to enter two parameters for the file name - deal number and document name var d = app.response("Enter Deal Number:", "Enter Deal Number", ""); if (d && d.length > 0){ var temp = d.replace(/[|&*;$%@"<>+,]/g, ""); if (temp.length != d.length){ // it checks for speci
I want to get radio button Activated. If the TextBox1 value is greater than 80.Here is My form. Please solve this I'm using Adobe Acrobat CC 2017.You need 80 Points for your check security.Total Points: [TextBox1]Radio Buttons: [ ] Yes [ ] NoIf the value of the TextBox1 is above 80 then the "Yes" radio button is activated.If the value of text box 1 is less than 80, then the radio button "No" is activated.
Hi, i am trying to view embedded attachments within a PDF in the adobe app on iphone but there is no option to view the attachment. Please can someone advise? Thanks
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
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.