If/then box script help in the form of Adobe Acrobat...
If having a purchase order that has two different fields of price (regular price per point & subscription price per article for each line item, then a quantity) and then a total field. Finally, there is a checkbox on the form indicating if they sign up for a monthly subscription.
What I try to do is create a script that totals each line by the current price multiplied by the quantity or the price of the subscription by amount if the subscription checkbox is checked ("Yes"). So far, I've tried several scripts, I found in the forum but no luck at all.
The box is near the billing fields down, so all the line items first appear in the upper part of the form. Thus, an individual if each line and calculations would amount in total to each line (reg * qty price) when you get off of the form... When you check the subscription all line totals would have changed to reflect the subscription rates on each line (which may be different). Just need help with a single line and I can duplicate for each line...
Here's what I does NOT again...:
(function () { if (this.getField("sub").value==="Yes") { var b1 = this.getField("Price1b"); var c1 = this.getField("Qty1"); var d1 = this.getField("Price1"); event.value = b1.value * c1.value; } else event.value = d1.value * c1.value; } )();
Try this:
(function () {}
var b1 = getField("Price1b").value;
var c1 = getField("Qty1").value;
var d1 = getField("Price1").value;
If (getField("sub").value = 'Yes') {}
Event.Value = b1 * c1;
} else {}
Event.Value = d1 * c1;
}
})();
Tags: Acrobat
Similar Questions
-
Need help with Java Script to perform a calculation in the form of Adobe Acrobat Pro 9
I have a form (test) I created in Adobe Acrobat 9 Pro.
I need help to create a custom JavaScript, so I can get the desired response.
1) there are several questions in each group requiring a numeric response between 0-4
2) there is a total set up field to calculate the sum of the responses of all of the above questions
(3) the final "score" takes the answer in step 2 above and divide by the total possible response
Any help to what Java Script I need to fill it would be greatly appreciated!
I have attached a spreadsheet "" which shows more in detail as are the result of what I used in Excel to get the desired end formulas.
Thanks in advance.
Have you tried the "field is the average of:"?
-
Uninstall the currently installed acrobat and reader versions even if they are part of a suite of cs.
then try to use installation.
If this fails, troubleshooting installation problems with the log files. CS5, CS5.5, CS6
-
Text not lining correctly in the form fillable. Acrobat 9 Pro
I have a number of documents created in MS Word and then I converted them to PDF via Adobe Acrobat 9 Pro. A number of these documents have text fields as the end user is typing their data in - example: a message box on a fax cover page.
The original Word document has this region bordered like this:
__________________________________________________
__________________________________________________
__________________________________________________
At the show (as shown above) is transformed as a field in the field "add" to the form in Adobe Acrobat I'm removing the individual fields Adobe "detects" and instead making a large box of content.
Under properties, I have "multiline" and "long scroll text" selected.
Now the problem... for some unknown reason... some fields work perfectly that when typing in the PDF, fill-in form that the text is typed aligns perfectly with the lines (as shown above). In other cases it is not the tail at all.
I played with the font size, font type, spacing on the original Word document. I've scoured the forums without success and internet (ask anyone else or I do not use the appropriate search terms).
Can someone help me or point me in the right direction?
I have also included a screenshot of the document so you can see the wackiness.
You have no direct control of the attack of a multiline text field. A common approach is to control the background color of the field with JavaScript, because the lines are not really necessary when the field is used in Reader/Acrobat. They can be useful when you use the form by hand. For more information, see the messages by Max in this topic: http://acrobatusers.com/forum/forms-acrobat/how-do-i-use-multi-lined-text-fields-over-prin ted-line-area-existing-form
-
Requirement of Java in the form of Adobe
Hello
Require 'Java' software to use the button as a 'Reset', 'print' 'Email', 'Save' in the FORM of Adobe Acrobat? I found the JavaScript code in the XML of the Adobe FORM. What does this mean?
If we use the Adobe form that interacts with the database, must Java? Without Java, only Adobe can accomplish?
Thank you.
BUNCH
To run the Javascript content with Adobe Form, the user can use a single software Adobe Acrobat Reader without requiring additional Javascript engine?
Adobe Acrobat and Adobe Reader are different products. Both have their own JavaScript Shell.
-
Call the help in the form of 10 g file
Hi all
How to call the help in the form of 10 g file?
in the old version (6i), I called help as the HOST file (' myhelpfile WINHLP32.) HLP');
Please helpppppppI believe that everyone has access to the administrative share c$ . Wheter do you via http as suggested FormsEleven or if you want to do it via smb, you must create a share and access it via
web.show_document('file://
/ / '); see you soon
-
I bought the DC of Adobe Acrobat pro and completed the info online, but when I use the cd with the product code key it will not take the code? What do I do then?
Thanks Anubha Goel, final I got it to work... The serial number in the physical box that you buy in the store wasn't the number for the software. It was the serial number in the cloud, very difficult to know when you see a serial number in the box with the Cd online. But thanks for the reply to my post. I'll be in offline mode after clicking on answer... Thank YOU Ana Maria
-
Been updated my profile add my personal e-mail to Adobe to recover. I received the verification email, but there is now no room in the form of adobe to stick it to. What I can / Adobe done to correct?
The forum software... below might help Adobe rents
User manual for the community of Adobe (forums) https://forums.adobe.com/docs/DOC-4714
-or http://docs.jivesoftware.com/jive/7.0/community_user/index.jsp
-
How can I create database in the xi of adobe acrobat professional to collect information of forms to fill out?
Hey bellaj.jenson,
Please see the below mentioned KB doc for the same link:
Acrobat help. Create and distribute PDF forms
See also: data collection with forms (PDF Forms)
Hope these helps.
Kind regards
Ana Maria
-
I created form in adobe acrobat X 1 Professional.
Now, I want to put logic on a field.
I want that the document will be closed if someone between age under the age of 18. and display a message for minors?
The final document is a little drastic... Perhaps simply display an error message? In any case, you can do it like this, as a custom field validation script:
if (event.value && Number(event.value)<18) { app.alert("You must be an adult to fill in this form!"); this.closeDoc(true); }
Be aware that using this code will close the file without saving it, and the user will lose all unsaved data that they have entered.
-
I have already created a vector in the form of Adobe, but I'm not trying to place the vector ontop of a picture on my phone. I know that you are able to save the vector and do it on a desktop computer, but I was wondering if there was a way to do it on your phone. The Photoshop Mix app does not allow you to place the vector made in Adobe forms on an existing image on your phone. Any help?
Hi TinaWix,
My apologies for taking so long to answer.
You can introduce forms of Capture CC (in a drawing layer) and an image from your phone (in the photo layer) in Adobe shoot (one of our mobile applications of drawing). Have you tried?
Sue.
(Note: just in case...) Form CC is no longer available, but the app was rolled in capture CC as well as two other of our Capture applications.)
-
"Access denied" pop-up error while opening the form online Adobe in IE8.
"Access denied" pop-up error while opening the form online Adobe in IE8. I use a crosslink to connect to the customer's network and then open IE with Tunnel of App. Tried to re - install Acrobat reader several times but always present problem. Even tried to change the properties of the PDF (-> Preferences - general/Internet/Security Enhanced Edition)
Problem is resolved...
Fact following the steps:
Uninstalled Adobe
Disable anti virus running to do a fresh install of adobe reader 10.0
Delete the adobe folder under <>
\AppData\Local>Adobe and <> \AppData\Roaming>Adobe -
Where Iget can help with this message? «Adobe Acrobat Reader DC could not open (my file.xls) because it is not a type of supported file or because the file has been damaged (for example, it was sent as an attachment to e-mail and has not been correctly decoded).» I don't know where to go or how to solve this problem. It started to happen after I went to the office 356 and uses Windows 10.
Please see the troubleshooting provided in this KB doc steps: fix damaged document error when opening PDF files
Let us know if you still experience the problem.
Kind regards
Meenakshi
-
Hello, how can the form in Adobe Muse run on a third-party hosting site? MANDIC use the server to host the site. More the form of error. I couldn't find the solution to this problem.
Please see this document for troubleshooting:
https://forums.Adobe.com/docs/doc-3581
Thank you
Sanjit
-
Is it possible to have an "upload file" option in the form of Adobe Muse. Is there a widget for this?
Hello
Please refer to this topic, download the file button
Maybe you are looking for
-
When I try to find a list of changes made in 6.0, I find is more than this link in Firefox support online. Such a URL exist? Kind regards Gordon grossCompTIA A +, Network + security +. [email protected] http://www.Facebook.com/MrTechnoWiz http://ww
-
15 - n073sl VOLUME AND BRIGHTESS CONTROL / DEVICES of UNKNOW
Hello I went down the os from windows 8 for windows 7. I have 2 problems: -i downloaded the drivers from the hp site, even if they were designed for windows 8... in any case I lost the "eyewitness" for volume and the brightess... I want to say... I c
-
I created a simple VI based on the example of binary threshold provided with Vision. It contains a Subvi whose binary threshold is defined in an interactive way and went back and apply the binary threshold parameters to an image in the main window.
-
Fax from Windows 7 and Scan__
How can I import the fax received Windows XP in Windows and Windows 7 scan fax.Thank you.
-
Is - this PC Capable of Windows 7 to install?
My nephew is using a: 2007 Dell Vostro 200 desktop computer (model # C4B29F1) Processor Intel® Pentium® Dual CPU E2140 @ 1.60 GHz 1.60 GHz, 0.99 GB of RAM 80 GB HDD (28.2 used GB, GB FreeSpace 46.1) 32-bit system Windows XP Home Premium, SP 3 I attem