How to convert an Excel formula to a custom form Adobe Acrobat 9 calculation Script?
Hello
I'm not familiar whether with Javascript and need help to convert the Excel formula below so that I can enter a custom in the form of Adobe's PDF calculation Script. Here's the formula:
(= If (E15 < 25.01,9.95,IF(E15 < 50.01,11.95,IF(E15 < 75.01,13.95,IF(E15 < 100.01,16.95,IF(E15 < 150,01, 19.95, IF (E15 < 200.01,24.95,IF(E15 > 200.00, E15 * 0.125)))
Where 'E15' will be the text field called "Subtotal" in my Adobe's PDF form.
Thanks for any help you can provide!
Fortunately, JavaScript has the "switch" statement, so nested If statements can be avoided.
var E15 = this.getField("Subtotal").value;
{Switch (true)}
case (E15< 25.01)="">
Event.Value = 9.95;
break;
case (E15< 50.01)="">
Event.Value = 11.95;
break;
case (E15< 75.01)="">
Event.Value = 13.95. 13
break;
case (E15< 100.01)="">
Event.Value = 16.95;
break;
case (E15< 150.01)="">
Event.Value = 19.95;
break;
case (E15< 200.01)="">
Event.Value = 24.95;
break;
case (E15 > 200):
E15 = Event.Value * 0.125;
break;
by default:
Event.Value = "";
break;
} / / end of switch.
Tags: Acrobat
Similar Questions
-
I'm a Subscriber. How to convert documents sent by email to Word of Adobe Acrobat
People send me attachments by e-mail that I can not read correctly, it seems that you must pay to get these converts so I subscribe to Adobe, but now I still need help to find how I can convert these attachments to read Microsoft Word documents
Hi Carolina,.
I just checked your account details and found that you have export pdf subscription, you can use the following link to access pdf online service export: http://cloud.acrobat.com/exportpdf
Alternatively, you can install Acrobat Reader DC ( Adobe - Adobe Acrobat Reader DC Distribution ) and service pdf export using the player software.
Kind regards
Rahul -
How to convert an Excel file into a pdf?
How to convert an Excel file into a pdf?
Hi tomduffey,
You can either use the service Create pdf or Adobe Acrobat software for the purpose.
Please see-
By using the service to create a PDF file: https://www.acrobat.com/createpdf/en_GB/convert-excel-to-pdf-converter.html
Using Adobe Acrobat: http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/acrobat/pdfs/adobe-acrobat-xi-create-pdf-files-tutorial-ue.pdf
-
I'd like to edit a PDF secure document did not change the text, or the layout at all I would do is highlight the text. How can I do this? With the help of Adobe Acrobat DC 15.9.20077.160923
You know the password? Otherwise, the security policy does not allow adding comments in the file, then there is nothing you can do about it.
-
How to find and replace data in fields of form in acrobat xi, its not allowing to do while trying, request adobe livecycle to settle. Help, please.
Best way to do is the following:
-Open the PDF in Acrobat.
-Go to tools - form - form more Options - export data.
-Save form data in an XML file somewhere on your system.
-Open the XML file in a plain text editor (I recommend Notepad ++).
-Let's say you want to replace all the years in dates "2013" to '2014 '. Do a global search & replace '2013-' to '2014' - (I added the dashboard in order to ensure that only the date fields are changed).
-Save the XML file (maybe under a new name).
-Go back to the PDF file and now go to tools - forms - more form Options - import data.
-Select the modified XML file and import it.
-Fact!
-
How to convert this BSO formulas formulas ASO?
I need help to convert this BSO formulas formulas ASO:
BSO formulas:
12 * ("head count"-> "stopped" / ((@PRIOR("Head Count"-> "Total Active & Leave") + "number of head"-> "Total assets & leave ') / 2));
'Number of head' is a member of the dimension account
'Complete' and ' Total assets & leave "are members of the dimension of the State
Existing Active
New rental
Assets
CARPET
STD
OTH
Leave
Holidays & total assets
Volunteer
Involuntary
Death
Retirement
End of temporary assignment
Terminated
LTD
Total status
Promotion within level
Promotion to the next level
Promotion
No Total status
All Status
Status (Dimension)
ASO, the formulas will be?
Thank youTry
CASE WHEN IS([Period].CurrentMember, [Jan]) THEN 12 * (([Head Count], [Terminated] ) / ((( [Head Count], [Total Active & Leave], [Dec], [Year].CurrentMember.lag(1) ) + ([Head Count], [Total Active & Leave])) / 2)) ELSE 12 * (([Head Count], [Terminated] ) / ((( [Head Count], [Total Active & Leave], [Time].CurrentMember.lag(1) ) + ([Head Count], [Total Active & Leave])) / 2)) END
Note that this implies that your dimension of the year is in descending order
Year
-2007
-2008
-2009If the year is in ascending order
Year
-2009
-2008
-2007Then, you need to change
[Year].CurrentMember.lag(1)
TO
[Year].CurrentMember.lead(1)
-
How can I reduce the size of PDF file in Adobe Acrobat Reader (free version) ms?
I use Adobe Acrobat Reader DC (free version), ScanSnap ix500 & MAC OS X. I have many documents and statements I want to scan and would like to know how to reduce the size of the document to preserve the memory. I scanned a document, 1 page, converted to PDF format and save it to a folder on my computer. The file size of the PDF file has been 371ko. I can reduce the size without having to buy the standard Adobe Reader or Pro edition?
You can not. You need Acrobat for this kind of task.
-
How to install the add-on component of the OpenDocuments Adobe Acrobat Sharepoint
We will immediately get into trouble opening PDF files in the Internet Explorer browser. It seems with the component Adobe Acrobat Sharepoint OpenDocuments disabled add-in it is great, but we are uncertain how this was installed on the user's computer and we currently have this issue that affects countless individual. Can anyone inform me how do to install or access Adobe Acrobat Sharepoint OpenDocuments component module IE? Thank you!
Please visit these links which deals with the same topic:
Unable to ACTIVATE integration with SharePoint.
How to get the add-on "Adobe Acrobat SharePoint OpenDocuments Component" for IE11
Let us know if you face any problem.
Thank you
Shivam
-
Unfortunately, I lost my serial number to activate Adobe Acrobat XIpro. How and where can I get it back?
Hi Felixs55775946,
I saw your Adobe ID (email address) you used to post here on the forums and found that there is a license for Acrobat XI Pro are registered.
Please log in to adobe.com and refer to the following to find the serial number of your product Adobe quickly
Let us know of this aid.
-
How do I revert to my last (better) version of Adobe Acrobat 10
How can I go back to my old version of Adobe?
Uninstall with the cleaning tool, and then install your preferred version and activate it with your serial number.
Adobe Reader and Acrobat cleaning tool
The cleaner deletes a stand-alone Reader or Acrobat, including preferences and settings that can be kept for a standard program uninstallhttp://labs.Adobe.com/downloads/acrobatcleaner.html
Download and Installation Help-
https://helpx.Adobe.com/download-install.htmlAcrobat XI, X - http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html
-
How do I rearrange the pages once they are in adobe acrobat format?
I have a NeatDesk who scans my pages in Adobe Acrobat PDF. But when my scans must be the combination of size size and the receipt of letters, he puts them out of use. How can I rearrange the pages scanned once they have been created in several page PDF format?
In browsing the Pages panel, you can move pages.
-
Telephone numbers in an excel spread sheet not recognized by Adobe Acrobat DC
Prior to my upgrade to Adobe Acrobat DC on my iPhone, phone numbers in an excel sheet spread is recognized by Acrobat Reader as such i.e. you would touch and hold the number, a "pop up" seems so the opportunity to 'CALL' or 'SEND a MESSAGE '. This feature does work in format Adobe Acrobat, DC, why not?
Hello
Acrobat DC IOS uses the iOS Apple SDK to display the overview of the documents not PDF (e.g. Word, Excel, PowerPoint).
It looks like a bug Apple for failing to detect automatically phone numbers only in Excel spreadsheets.
I opened my Excel (.xls and .xlsx), Word (.docx), PowerPoint (.pptx) documents with numbers from phone to Acrobat DC for iOS. The phone numbers in Word and PowerPoint documents have been properly recognized as such. In the preview, plain text is transformed into text underlined in blue. When you press and hold on the phone number, you will get the options you have mentioned.
On the other hand, the phone numbers in the Excel spreadsheet were not recognized in the preview. In Excel, I used the cell Format > number > special > phone number with the United States (in English) as a language. But it has not fixed the problem.
It turns out that Apple Mail Preview (on iOS 8) has the same problem. You can also send your Excel spreadsheet to yourself and open it in Apple Mail on your iPhone to confirm that this is a bug to Apple.
You can post a question in the Apple Support
iPhone - Mail, Contacts, calendars - Apple Support
or use Word documents for automatic detection of phone numbers.
Sorry for the inconvenience.
-
How can I re-load/install my free version of Adobe Acrobat?
Currently, I have a Version of Adobe Acrobat 8 and have an account with Adobe. How can I re-load/install my Adobe Acrobat free product again?
Acrobat 8 was never 'free. ' You may have received as part of a previous installation of OS.
You can download it again from https://helpx.adobe.com/acrobat/kb/acrobat-8-9-product-downloads.html (Pro only), and then activate it with your serial number.
-
How to convert WMV to MP3 or SWF file in Adobe Media Encoder?
Try to load a video file wmv in my PDF but Acrobat says that I need to convert the first SOUL to an MP3 or SWF file. How to make this cause what SOUL says file format is not supported?
Hello
Please tell us when you have found this info on the format not supported? When you try to put wmv to SOUL, when you try to convert it to mp3?
You should be able to convert your wmv in mp3 file - mp3 simply choose formats and convert. But it must be remembered that the mp3 is only audio file so you will have only the audio of your wmv - I guess that video - file. To convert your file wmv to swf video (which is A / V format) you need to use an earlier version of SOUL (adobe removing support for flv in SOUL CC 2014: Media Encoder help |) News summaries). If you have a previous version of yu have to convert your WMV to FLV and then use Flash Professional who convert to SWF - unfortunatelly SOUL cannot convert directly to swf format.
But... as far as I know you can use other video formats to PDF-dependent format which version of Acrobat you are using. Knowing that you have not to convert your flv to swf - you can just use mp4 format flv of SOUL or really popular (and present in all versions of the SOUL).
You can find more on what you can put in PDF here: taken supported file formats. Acrobat, Reader
-
How to read an excel file .xls to a forms 6i
Hello
I have forms6i and webutil don't works with this version, I can read a forms6i excel file.
Thank youIf it's a web application, you might do the following:
Download the file from the client to the application server, there is a FileUpload-bean in the sample forms.
Write an ontop of some excel library such as Apache POI-RICH or JExcelApi java program to extract the necessary data.
Use the importer-Forms-Java (I'm not sure, but it should be already there in forms 6i) to create a PL/SQL-wrapper around the java code. Now you can use pure PL/SQL for reading excel fields and process the results.
Maybe you are looking for
-
I am tring to get a HPscanjet 5590 to work. My wife is now with this scanner at home and she could not find the disk. I downloaded the software and driver from the HP site, and although the icon appears on the screen and work the first time when she
-
Disable copy and move files/folders in windows xp
I want to warn the user domain to copy files or folders in windows xp
-
Pavillion23: Windows 7 will not be updated. I get error code 800706F7.
Windows 7 will not be updated. I get error code 800706F7. I removed the update painful KB304394, which of course still blocking updates, earlier. Since then, I find in the history of the update that almost most of the windows update attempt failed.
-
BlackBerry Smartphones can make or receive calls!
The phone turns on, but there is a small icon in the upper left corner indicating the word "OFF". Can someone tell me what it is?
-
I can't connect Photoshop Elements 10 for canoscan lide 110 with win 7(64 bit) driver
Hello I recently bought Photoshop Elements 10, so that I can have the Photoshop Elements program compatible with win 7(64 bit)I installed Photoshop Elements 10 (Spanish edition) and apart from the scanner seems to question, it works well. But when I