Unlock the power of Acrobat SDK through our community.
Recently active
Hi. I have created a form in Acrobat Dc using form fields to input data, then finalised by initiating an actional button to make content 'read only' which was configured using a java script with mouse up action. This form is saved in an EDRMS as a template to allow the end user to raise automatically in their respective folder to submit for approvwl. When tested by a user that has adobe pro dc installed this works well and releases automatically once the form is completed and made read only by iniating the button. However if this action is completed by a user that only has Adobe reader, the form will launch another 'save as' window which will require saving the form through navigating back to their folder to save, even though the original form (generated by the template) is still in edit mode. Hope this makes sense, appreciate any assistance. Regards Annemarie
I posted about this form a couple of weeks ago, and am still having trouble trying to figure out where my console errors are coming from.It seems that most of my errors are stemming from three doc-level functions that I use often and in many different forms. I have never received error messages from these functions before. The functions are:function no_zero() { if (+event.value) { //$ format for nonzero values AFNumber_Format(2,0,3,0,"$",true);} else { //Don't show anything if result is zero event.value = ""; }}function percent_zero() { if (+event.value) { //$ format for nonzero values AFNumber_Format(2,0,0,0,"%",false);} else { //Don't show anything if result is zero event.value = ""; }}function round(
Hi - I'm new here. I usually just google when I can't figure something out but I can't find a close enough scenario for me to figure this out. I'm not a pro at java or scripting - I'm self-taught; this is how I learn - so bear with me.i have a form that calculates mileage reimbursement amount (miles multiplied by reimbursement rate) but I want the user to select a radio button for either "regular" or "relocation" because the reimbursement rates are different for each. How can I get the subtotal field to use the reimbursement rate related to the corresponding mileage type?I'd appreciate any ideas.
I have been searching the forums for hours but cannot find a solution for this, which seems like it would be more simple than much of the questions I have been looking at. I do not have much experience with running scripts in Acrobat, but I am willing to learn. I have seen many forum answers referring to "LiveCycle", but I don't think I have that. I am running Adobe Acrobat CC and all is up to date.I want to create a fillable PDF where there is a dropdown menu that populates its options with the text from text fields earlier in the document that the user fills out. Is this possible?
I'm having this weird issue saving documents. I have about 50 .rtf documents that I need to convert, now If I open them in Adobe they will be automatically converted to .pdf, but whenever I use my javascript line to save them to my folder, they are saved as As34d1.tmp.pdf, I'm confused as to why it's doing that, I want to save the .rtf document I opened and converted as the same filename? Please assist, code belowthis.saveAs({cPath: "/fileserver01/itshare/EDM/rtf/work/"+this.documentFileName+".pdf"});[Here is the list of all Adobe forums... https://forums.adobe.com/welcome][Comments is to ask about the operation of the Forum, not a specific program][Moved from the Comments forum to the specific Program forum... Mod]
I have a button where Ive set the action to submit the form followed by an action to clear the form fields. Is there a way to make the clear form fields conditional upon the 'submit' action actually happening (when required fields aren't filled the submit button fails but then clear the form as well!)
I am developing an Acrobat PDF Form using Acrobat DC.I used sample data to test the functionality.Now I want to clear the test data.Can anyone tell me how do I clear them at one shot.Thanks
I am creating buttons on a page based on if a layer exist or not. Not all layers will be in every document. How do I increment the buttons being created so that they will be stacked and have just a little space between each?Here is the script I have written with just creating them at the size I need.... but they obviously stack right on top of each other.var inch = 72;for (var p = this.numPages - 1; p >= 0; p -= 2) { var buttonPlace = this.getPageBox({ nPage: p }); for (var i = 0; i < ocgArray.length; i++) { if (ocgArray.name == "No Color") { buttonPlace[2] = 0.5 * inch; buttonPlace[0] = buttonPlace[2] + 0.868 * inch; buttonPlace[1] = 30 * inch; 
have javaScript to create stamp its working fine, but stamp size is little big, i need to reduce size of stamp, please help mehave use below code in custom calculation scriptvar cAsk = "Enter stamp you want to give";var cTitle = "Document state for stamp";if( event.source.forReal && (event.source.stampName == "#stamp1")){ event.value = app.response(cAsk,cTitle);}
Hi Adobe Team,User received the message from Adobe like that You no longer have access to Adobe Acrobat Pro DC through my organization (Yodlee). If you believe this is an error, please contact your team administrator for assistance.Please let me know how we can fix this?RegardsMuskan
I have a field with JavaScript actions. When I "duplicate it across pages" the field is duplicated, but the duplicates have no actions.If I could make the duplicates read-only, that would be fine, but that property would then apply to the original field, which is not fine.I guess I can add actions to the duplicates but there's a lot of them. And maybe I can't, anyway. Haven't tried!Any suggestions or comments? Thanks!
Hello,I am currently trying to compile chemistry past papers for my students. But the thing is, it's extremely difficult to just copy and paste each and every question and then organize them topic-wise. Is there any function where I could just highlight the next block of question and delete it with the del button and then organize them? A script to perhaps make the job go faster? Im new to this program and was wondering if there was an easier way to do this.Thanks
I want to have a checkbox checked if a certain field is not blank.I have tried this formula in the text field if (event.value==""){this.getField("Check Box10").value="Off"}else{this.getField("Check Box10").value="Yes"}But it is not working any Ideas?
Hello all,Please could you help? Last week, my PC had Windows 10 updates and since then, I have been having issues: I cannot go to my desktop storage, I cannot save nor save as my document (already in PDFs)...It looks like it searches: a box with 4 squares in grey and blue appear but it is not responding at all.I really need this as I work with DC everyday (I work for myself and I am the only one employee) and I have not been able to do anything with DC for 3 full days.Help please!Thanks all.
Hi All,I'm in Acrobat DC and I want to have a javascript with an If statement to do the following task. I know I'll need a if statement but I need some help starting it off. I have a two drop down fields. First down I have PointA, PointB and PointC and Second drop down I have the same PointA, PointB and PointC. Now I have my Third Field box as a number because if I want to select PointA on the first drop down and select PointC on the second drop down then I want my Third field box to have a 4 for distance.So I already know this muchPointA to PointB= 3 milesPointA to PointC= 4 milesPointB to PointC=5 milesAnd these miles will not change because they are already calculated.thanks in advance
I need a javascript for the client to not have to tab to go to the next field. Example; text field limit to one character and when clients enter the character it should go automatically to the next text field. Can someone please help?
Hi all i'm very new to javascript and adobe forms.I have a form in which if a data entry field is not used it is automatically populated with N/A. The N/A in the field is determinned by a calculation in a seperate field we'll call Field1. Depending on the value of Field1 the data entry field is either N/A and read only or the field is blank and the user needs to enter a value. When a value is entered i have the field validating the entry against a range, if its outside the range an app.alert notifies the users.I'm having trouble getting the validation to ignore the N/A. it sees it as an entry outside the range and the alert box appears.In the calculation box of Field1 i haveif (event.value>=3.335){this.getField("Powder").value="N/A";this.getField("Powder").readonly=true;}else{this.getField("Powder").value="";this.getField("Powder").readonly=false;}In the validation of the Powder field i have:if (event.value>Upper || event.value<Lower && event.value!="" && event
This is the sample PDF:https://www.sendspace.com/file/2stygi I have over 100 PDFs with text: www.test.com and link: http://www.test.com.Page number varies.Is there anyway for me to batch remove that in? Thanks.
My pdf form has 80 fields. Adobe (jso), however, tells me I have 460. Here's the code: Set jso = PDDocument.GetJSObject fcount = jso.numfieldsWhen I press 'Tools | Prepare Form', Tab Order view, 80 fields show in the 'Fields' section of the screen.When I press the 'A-Z' button in the Fields section, all 460 fields are listed. Those 380 new items all begin with an underscore and seem to be categorized with a parent and several children. They do seem to parallel the 'real' fields. None of them allow a right click for me to see their properties. What are they and how can I ignore them in my code? Since I am required (without your answer to my question) to cycle through 460 fields instead of 80, I am really bogged down as the 'invisible' ones are processed.BTW, the 'invisible' in the title to this question has nothing to do with the 'hidden' property available with the 'real' 80 fields. These are actually invisible fields that cannot be touched.
I am trying to create a javascript to change the color to a custom color based on value input.The only color that seems to work is the value 4 which turns it yellow. The other values are not working. Any suggestions:This is what I have:if (event.value=="1") event.target.fillColor = ["RGB", 253, 215, 240]; else if (event.value=="2") event.target.fillColor = ["RGB", 198, 224, 180]; else if (event.value=="3") event.target.fillColor = ["RGB", 204, 236, 255];else if (event.value=="4") event.target.fillColor = ["RGB", 255, 255, 0];else event.target.fillColor = color.white; TIA
For example:If radio button 1 = true textbox 1 = "option1"If radio button 1 = false textbox 1 =""If radio button 2 = true textbox 1 = "option2"If radio button 2 = false textbox 1 =""If radio button 3 = true textbox 1 = "option3"If radio button 3 = false textbox 1 =""all of the radio buttons = false the Textbox 1 should = ""
Hello,I created a stamp you can put on a PDF document.The stamp ask some questions and save the document in a folder.Now i got the question 'Adobe needs write acces to save the document in the folder';Is there a way to suppress this questions in the Javascript ?In Adobe menu Edit - Preferences - Security (Enhanced) can you disable/enable the option 'Enable Protected Mode'.When this option = Off then you don't get the message. When the option = On then you get the message.So I want this option On but not the Write access message.Thx
I have been given an application where the user fills out a form onscreen and we take that data and fill in the fields in a pdf template and allow them to download the new file. We were using a third-party tool in the past and for money reasons we can no longer use that tool since we have upgraded our web server. Is this possible to do with the Acrobat tool currently and can someone point me in the direction to some example code? The app is in vb.net but if the example code is in C# I can convert.
I need help with hexadecimal encoding format in PDF files for both text and date and time stamps, e.g./Lang <hexadecimals>/Author <hexadecimals>/Created <hexadecimals>etc.Please point me to relevant page(s) in PDF reference/specification where encoding format is explained in detail, I must admit I didn't succeed on my own.
When I use the spawn script to add another form (Template) to fill, my auto calculate on the next form calculates from the first and it won't calculate the entries in the form I've spawned. How do I get the next form to calculate what's entered in that form? var expTplt = getTemplate("Form Template"); expTplt.spawn(numPages,true,false);
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.