Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
I am working to update a form that has open-ended fields, but the ability to write anything is causing a problem with tracking. Is it possible to have Drop Down Menu 2 only display certain answers based on the selection of Drop Down Menu 1? I will also need to add a 3rd and 4th level to this so scaling would be ideal.
I am using this scriptthis.getField("cust Tel No").required = !event.target.isBoxChecked(0);and it works but when i try and add extra text boxes it doesnt, where am i going wrongthis.getField("cust Tel No").required = !event.target.isBoxChecked(0); &&this.getField("cust Tel Ar").required = !event.target.isBoxChecked(0);
Hi all,I have made a form with dropdowns in Acrobat Pro and it works fine.But when a customer filled in the form and mail it back, something stange occur:The vallue of a dropdown field is correct, till it scrolls out the page in Reader.Then when scrolling up again, the vallue is reset to the standard value of tha specific product.Do anybody have an idea how it comes and most of all: how to solve this issue?I searched a lot on the internet, but couldn't find any solution.Thanks in advance!
I am trying to copy a fields contents so that I can have one set of fields be changed, and another set be read-only. I added a custom calculation script to one of the fields and everything seems to work - except... I have have a 23 character long field that starts to mess up after 16 characters of data. After 16 it starts being inaccurate. I'm guessing that this is due to the data type that the field has allocated. Stranger still - after it gets passed 20 digits or so, it starts displaying in scientific notation. Does anyone know how to fix this? Should I go about doing this a different way?
Hi My fields are "Legal Rent" & "Pref Rent"I want my new field "Rent Amount" to take the minimum value of the two above fieldsHowever, if the field "Pref Rent" is blank as is the case many times I only want the new field to populate the value in "Legal Rent" and not to take the minimum in that case which is "0"I am not so familiar with Java and I have tried pasting calculations I have found but have not been able to get anything to work for this one
Hello,I am new to javascript in PDF's. What I am trying to do is have every pair of odd and even pages have the same page number. I have written the script below but, it just returns undefined. What am I overlooking?function addPageNumbers(){var sheet=1;var x=2;for (var i = 0; i < this.numPages; i++) {if (x%2==0){this.setPageLabels(i, ["D", "Back ", sheet]);}else{this.setPageLabels(i, ["D", "Front ", sheet]);sheet++;}x++;}}
I do not know Javascript and need emergency help with this calculation please. I would be so grateful if anyone with knowledge could assist. I need to create several percentage calculations in Acrobat Pro DC. I know where to put it just need to code. It looks something like this:AP to 30 (expressed as $) / % of TotalAP 31-60 (expressed as $) / % of TotalAP 61-90 (expressed as $) / % of TotalAP Over 90 (expressed as $) $ / % of TotalTOTAL (of AP above)I need to know how to calculate to totals. There will be 4 separate scripts.Thanks for any help!!!
i am using AxAcroPDF in a c# application and i need to get the indexes of the thumbnails that the have been selected.
HELP! I'm new to javascipting and need to create a form for work:We need to charge boaters a fee depending on the number of days staying (docking) and the boats berthage (length).I have a field that creates the total days from two drop down calendars currently. I also have have a field with a drop down selection of the boats length.However, I have no idea how to combined the two though? Here's what I need to calculate/charge from the two fields:If boat is staying less then 30 days I need to charge $20/dayIf boat is <18m AND is staying longer then 30 days they are charged $260/monthIf boat is between 18-20m AND they are staying longer then 30 days charged $280/monthPlease help :S
HiI am using AVDocGetPageText to extract all text on the pages. On Win it works like the documentation says. The callback proc is called twice when I use it like this:AVDocGetPageText(avDoc, pageNum, NULL, ASAtomFromString("Text"), copyProc, NULL);First it returns the text with format "Text" and next with "UcsText". Now I can use ASTextFromUnicode to extract text from the page.BUT, on the Mac the callback is only called once and it only returns "Text". No "UcsText". In the documentation it looks like it should behave the same for both Win and Mac. How can I get the "UcsText" on the Mac ?ThanksRune
I would like to create a dynamic stamp something like this, as long as the second field contain "B" then the first and second field text will change to colour blue or if contain "O" then will be colour orange.is there anyone can give me some advise how to achieve this goal, since I am very green in Javascript.many thanksado
Hi everyone,I have been working on accomplishing a task, that while I have the know-how on completing, is too large for my needs. Looking to see if someone has an idea on how to make this smaller in size as to reduce bogging down the form.Here is what I am doing. I have a medical form I need to complete. It is a list of medications. Each row has medication name, dosage, frequency, side effects, etc. I have a dropdown list for the medications - the list contained 43 common medications with an "Other" so it can be added if necessary. According to the medication chosen, three other fields in the same row are autopopulated - common medication name, what it treats, and side effects.The code I wrote works great. The problem is it is quite large with 43 medications. The page contains 11 rows. I would need to change the code for each row for it to autopopulate the corresponding fields. Is there an easier way to populate each row without needing to change each line of code according? It would b
I try to work with variable font size in multiline textfield. The auto font size property is insufficient because i want to specify a max and min font size (default seems to be 12 and 4 respectively). Since there appears a marker and scrollbar once a textfield starts to overflow or input is disabled on non scrollable textfields, i had the idea to implement a custom javascript solution. However i was unable to find a property or event which conforms to this described beahviour in the javascript documentation.Perhaps someone can point me in the right direction or otherwise can confirm that indeed there is no such feature.Cheers.
Hello,Is there a way to automate information onto a page with a button press? I'm familiar with macros and scripts but unfamiliar with Acrobat.Essentially, 30 times a day I have to open a cost report, sign it with the little signature I created (does not need to be digitial signature, just the one you type in), add the date and send it off. Is this a javascript? An action? etc...I can't find the information anywhere.Thank you!
I'm attempting to insert an existing pdf into an open pdf after a specific bookmark using javascript.
I have a two page form, created in Acrobat DC, that contains a table on the second page for entering information about purchase order line items. If the user needs additional lines I have included a java code button on page 2 to open a hidden template page. The user can continue to add more pages as needed. Is there a way to have these added pages sequentially numbered (beginning with page 3) at the bottom center of the pages?
Hello there,I have a document numbered 1 - 100. I have a second pdf that is also numbered 1 - 100. I'm trying to merge the 2 PDF files into one, but to keep them in the same sequence. So page 1 from document 1 will be followed by pg 1 from document 2. When I try to merge the file currently, it simply drops in the 2nd document at the end or beginning. I can manually insert them, but this is a test for a larger project.Would appreciate any suggestions.Thanks
I made a stamp that works. It fills in the individual text fields. It's based on the app.response type. What I'd like to do now is, is to have all the selections populate into one text field instead of populating each of the individual text fields. In essence to compose a sentence of the selection information I make. I need help doing it can someone chime in as to how I can accomplish this? If this can be done? A little example would be very helpful. Thanks.
Good Day,I am looking for a javascipt to convert decimal minutes to hours and minutes?On my form i have four fields that is have added up to give me a Total. These fields can be any numbers in themExample Field 1 - 60 MinsField 2 - 60 MinsField 3 - 50 MinsField 4 - 60 MinsTotal - 230 Minsthen i take Total(230 mins) / 60 mins = FinalTotal(3.83) (Decimal Minutes)I need to take the Final Total(Decimal Minutes) 3.83 and convert it to Hours and Minutes to get the final answer of 3 Hours & 50 MinutesAny help would be grealy appreciatedThanks
I Need a solution for Acrobat Pro:I would like a PDF export to a xlsx. Manual all good, with way "Save As other...->Spreadsheet-> Microsoft Excel Workbook"So, my problem is, in different folders come again every day new PDFs, that I need as excel. For this I would like to find a JAVA solution that I can use Acrobat Pro to convert to Excel. Do you have a solution for me?
Good afternoonI have been reading a lot of questions and answers on this forum for converting an Excel IF formula into a formula that will work in a PDF. I have been unable to find any that work with my case and I don't understand enough of what people are saying to figure it out on my own. Can someone please help? The current formula is set up like this:=IF(D31="Y",750,0)*12+(D35+600*12)I have different references for D31 and D35 in my PDF document which are as follows: D31 - VehicleD35 - PorterVehiclesAny help in the right direction would be so appreciated. Thank you!
Hi, I have a javascript problem with the following code:var sl = this.getField("Heuvel-0");if (sl.value == ""){event.target.fillColor=color.white;}else{if(sl.value==0) {event.target.fillColor=color.green; event.target.textColor=color.red;} else {if(sl.value>=-.4 && sl.value<=+.4) {event.target.fillColor=color.yellow; event.target.textColor=color.red;} else {event.target.fillColor=color.red; event.target.TextColor=color.white;} }}everything works except for the 0 value. The box doesnt change to green. When I change it to a 1 in the code and the box everything works fine. W
I am trying to figure out how to check a certain textbox contains a certain word in either upper or lowercase (XPO). If it does, then perform one action. If not then perform a different action, below is the code i currently am working with but it dosent seem to work. var cCustomerName = this.getField("CUSTOMER NAME").value;if (cCustomerName == "XPO"||"xpo"){ccAddress1 = ("dan.somename@somewhere.com" + "; " + "eps@somewhere.com" + "; " + "mark.b@somewhere.com" + "; " +"jeff.s@somewhere.com")}else
I have created a form in Livecycle Designer ES4, done a Preview and opened the file in Acrobat Pro. The window where the script is supposed to be is empty and so I cannot put in breakpoints and debug. At the bottom of the debugger windows it says "Unable to find the source for XFA ..."The Initialise procedure in LCDWhat could possibly be wrong here?
Hi,I want to build folder level scripts for Acrobat Reader DC - is there a good reference for this out there?Regards,Andy
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.