Questions
Recently active
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
I am making a form where letter grades will be entered. I need the form to convert the letter grade into a number value. The corresponding number values will be added together to calculate a total in another field.For this scenario, A = 4, B = 3, C = 2, D = 1, F = 0. For reference, some of the field names are "ELA1", "ELA2", "ELA3", and "ELA4".I am new to this and can't quite find a similar solution. Thank you for any help!
I recently updated to the free version of Adobe Acrobat Reader DC. When I receive a pdf as an attachment to an email, I can't save it to my hard drive. I could before. What's wrong?
Hello I'm trying to have a checkbox, when not checked display a message in the email body, but all I get is "undefined".var WI="Inventory Control - This includes Warehouse Inventory and Rental Inventory";var cb1 = this.getField("WI-U").value; if ( cb1 =="Off") WI.value;var cToAddr ="Email@Company.com"var cSubLine ="" var cBody = "Thank you for completing the file. \n\n"+ cb1.value + "\n"when the check box is off I need it to display plain text from var WI in the body of the email.Any assistance is greatly appreciated.
Hello -I want to create a conditional script to send an email if a certain form field includes specific text. The form is already made to automatically be sent to a set array of emails when the user pushes the "Submit Form by Email" button, but I want to add a script on top of that that will submit the form additionally to another email address when there is specific information included in a specific field. Is there a way that I can do this? I'd really appreciate any help. Thank you!
HelloMy question is, is it possible to create a form with the following requirements?1. Open PDF2. The supervisor fills in fields.3. The manager clicks on one of the departments, then the form should be forwarded to defined, stored e-mail addresses for processing (6 departments, on each departement is an email address - the choice of the departements with radio button or dropdown field).4. Example, the email was send to the department secretariat. He write an opinion in a field (including the name of the editor and the timestamp) and forwards it to the personal office by clicking on «Continue» (two defined, stored e-mail addresses, the choice of the personal office with radio button or dropdown field).5. The personal office also write an opinion in the form (including the name of the editor and the timestamp) and forwarded it to the department (send back -Department that is mentioned in step 2.).6. The department prints out the form.is that possible to create with adobe and javascript?
Is there a maximum amount of data you can have in a drop down box?I have a list of 6 clients (I'm starting small just to test)I have a name, DOB and address.I am using a script to populate a drop down box which lists all names:var textFields = ["Aname", "Bname", "Cname", "Dname", "Ename", "Fname"]; if (event.source!=null && textFields.indexOf(event.source.name)!=-1) { var items = [""]; for (var i in textFields) { items.push(this.getField(textFields).valueAsString); } this.getField("Dropdown1").setItems(items); } I have also created custom fields to add the name, DOB & address into one field. (AFull Details, BFull Details etc.) I am then trying to use this field in a drop down. It seems to work for 5 clients, but when I add the 6th, it doesn't refresh the drop down...var textFields = ["AFull
I am very new to acrobat form JavaScript and to coding in general. I have scoured the internet looking for my answers, but nothing quite fits. Your help would be greatly appreciated.I have a 2-page document with various form fields in rows - 16 rows total. At the beginning of each row is a checkbox that I use (via JavaScript) to clear the contents of the entire row, if needed. Besides the initial checkbox, each row contains 5 text boxes, 4 date pickers, and 9 additional checkboxes.I have a button with the mouse up set to run a JavaScript using the this.mailDoc code to send form data via email. However, I want to conditionally send information to the body of the email based on checkboxes being enabled.Here is what I want to do:1) If the row's initial checkbox is enabled, I want the data from certain fields in the row to be sent to the body of the email. If the row's initial checkbox is disabled, I don't want any of the data from the row's variou
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.