If/then checkbox script help in Adobe Acrobat Form...

If have an order form that has two different pricing fields (regular price per item & subscription price per item) for each line item and then a quantity and then a total field. Lastly, there is a checkbox on the form that indicate if they are signing up for a monthly subscription.
What I am trying to do is create a script that totals each line by the regular price multipled by the quantity or subscription price by quantity if the subscription check box is checked ("Yes"). So far, I've tried several scripts I found in the forum but no luck at all.
The check box is near the billing fields toward the bottom so all the line items appear first in the top section of the form. So, an individual would fill out each line and the calculations would just total each row (reg price * qty) as you go down the form...then when you check the subscription box all the line totals would change to reflect the subscription pricing for each row (which can be different). Just need help with one row and I can duplicate for each row.....
Here is what I have that does NOT work yet.....:
(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;

One last strange thing is that when I then do the "Value is the Sum simple total of the row total fields (where the script is) and then click the check mark for subscription, the number in the grand total field shows the opposite value as the row total field (so when you click the subscription check box, the row total goes to the subscription price and the grand total field then shows the full price)....can't figure out why that happens......?
Any ideas?

Similar Messages

  • I need someone to write a Java Script for my Adobe Acrobat form. I do not know how to write Java Code

    I have never worked with Java coding and am in need of assistance for an acrobat form I am working on.
         - I have a form with a field identifier called BACompnayName (this is the field where they would enter their company name).
         - I then have a form field with two radials that says "Is the shipping address the same as the business Address" - "Yes" and "No" (the form identified for this field is SASame.
    What I am trying to accomplish:
         - If they click yes, I would like the form to fill in the information found in BACompanyName otherwise, leave it blank to be filled out by the person filling out the form.
    I appreciate any help.
    Thanks,
    Brett

    Something like the following?
    Checkbox for "make billing address the same as shipping address" doesn't work (JavaScript)

  • How to convert an Excel Formula to a Custom Calculation Script in a Adobe Acrobat 9 Form?

    Hello,
    I am not familiar whatsoever with Javascript and need some help in converting the following Excel Formula so that I can enter it into a Custom Calculation Script in a Adobe PDF Form. Here is 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 named "Subtotal" on my Adobe PDF Form.
    Thank you 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) :
    event.value = E15 * 0.125;
    break;
    default:
    event.value = "";
    break;
    } // end switch;

  • Need help downloading Adobe Acrobat X Pro

    I purchased Adobe Acrobat X Pro & have an empty disc cover, i cannot locate the disc and need to reload teh software to my PC after a system refresh. I cannot locate the dowload under My Order History or My Download History. Can anyone assist?

    Not it’s XI, but I was told it would accept it, it seems I’ve been misled?
    Would you be able to help with a link to download Acrobat Pro X?
    Re: Need help downloading Adobe Acrobat X Pro
    created by Pat Willener<http://forums.adobe.com/people/pwillener> in Downloading, Installing, Setting Up - View the full discussion<http://forums.adobe.com/message/5519614#5519614

  • Need help activating Adobe Acrobat XI PRO FOR WINDOWS?

    need help activating Adobe Acrobat XI PRO FOR WINDOWS?

    Hi jurleana15722686,
    Are you working with a subscription version or perpetual (where you bought the software outright)? Are you running into a particular problem or receiving an error message when you try to activate?
    For starters, please check out this document: https://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html.
    If you're still having trouble, please let us know what the exact issue is, including any error messages that you're receiving. It would also be helpful to know what version of Windows you're using.
    Best,
    Sara
    [disucssion moved to Downloading, Installing, Setting Up forum]

  • Problems with Adobe Acrobat Form

    Hi there.
    I have successfully created a form using Acrobat 9. I added to the media folder of a website that I'm building and added a link from a page to this Adobe Acrobat Form Questionnaire. The trouble is when I test it on FireFox and Safari on my Mac the form loads, I fill it out and press submit and it opens Mail and gets ready to send the attached form... all working perfect... I then go to test it in Windows XP using Explorer and Firefox and it opens the Acrobat document... allows me to fill out the form, asks me for what email method to use... but then says "The Operation is Not Permitted".
    This is sooo frustrating.... can someone tell me what I'm doing wrong here. The website is good to go at this stage... but this issue is preventing me from going live with the website. Can anyone help..??
    Any comments most welcome... below is the test site for the website...
    http://www.creativedesign.ie/metpro_test/pages/technical_services.html
    Click on the bolded word "Questionnaire".
    Yours sincerely,
    Anthony

    I'm having a similar problem. I've created several forms in LiveCycle Designer ES 8.2 that will be used by our company technicians to gather and submit important equipment inspection data.
    During development, the forms were edited many times in LiveCycle Designer and were then re-opened in Adobe Acrobat Pro to "Extend Features in Adobe Reader", to enable saving copies of the completed forms. I also set the initial view in Acrobat Pro as I'm unable to find a way to do it in LiveCycle Designer. Consequently, this back and forth process between LiveCycle Designer and Acrobat has been carried out many times on each of the forms. I'm not sure if this is something that should be avoided?
    Anyway, the forms were tested and re-tested by myself and colleagues at work on company computers in Adobe Reader 9 to ensure there were no problems. Everything worked great until today. When I attempt to open the forms now, I get a prompt that says:
    "This document enabled extended features in Adobe Reader. The document has been changed since it was created and use of extended features is no longer available. Please contact the author for the original version of this document."
    This has never happened before. The forms open in Adobe Reader 9 on my personal computer without a problem.
    Any suggestions? I'm new to LiveCycle Designer and don't have a clue what the problem could be.

  • Search Help on Adobe Interactive Form with Web Dynpro ABAP

    Hi All,
    I have created Adobe Interactive Form with ZCI type and XML based interface type using Webdynpro ABAP.
    I placed a text field USER_NAME on the form ( data element is linked to search help USER_COMP ).
    Added Native WD UI element 'Value Help' to form to search for users and changed script
    *var fieldName = "INSERT_NAME_HERE*"; to var fieldName = "USER_NAME";
    The problem is that when I click on the value help button, nothing happens.
    Is any more additional steps required ?
    Thanks
    Karu

    Hello
    Check this
    F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
    Thanks
    Anirudh

  • Need help with Adobe Interactive Form Saving

    Hi Gurus,
    I need your help with Adobe Interactive form saving.
    I have written the code in pre-save event to prompt a message when user didn't enter any value before saving. The form data should not be saved upon clicking save (Just prompt the message and exit form the form). Can u please advice me how to do this.
    Regards,
    Srini

    see the link: http://forms.stefcameron.com/2008/04/
    it says:
    preSave: Failed validations will not prevent the form from being saved however Acrobat/Reader will issue a special warning message, after issuing the validation error message, to inform the user that the validations failed. Iu2019m guessing this is because the user may be saving the form to continue filling it at a later time so the save canu2019t be completely prevented.
    regards,
    BJagdishwar.

  • Custom search help in ADOBE Interactive form

    Hi All,
    I am trying to apply custom search help on a field on my ADOBE interactive form. This custom search help would require
    import parameters which are some other fields on the same form.
    How would I pass them ?
    Thanks & Regards,
    Deb

    Hi,
    Hope, these links will help you.
    F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
    /people/community.user/blog/2006/11/20/search-help-in-isr-adobe-forms
    /people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap
    with regards,
    Mamta

  • Need help w Adobe Acrobat 9 Pro reinstall from CS4 Master Collection disks.

    Hi all, I'm hoping that you can help me with something. This bug is costing me tons of time and frustration, so whoever can give me a walkthrough, step by step, of what to do, will be my favorite person of the year.
    I have Adobe Acrobat 9 Pro that I installed originally from my CS4 Master Collection. This collection came as a set of physical disks.
    Now, the problem is that, for the past couple of years, Adobe Acrobat 9 Pro has been super, duper buggy on my computer. For example:
    - It won't let me install updates to it.
    - It does weird things and gets stuck a lot.
    - It likes to crash.
    - It won't let me uninstall it. I tried to uninstall it, and I got an error message that says, "Invalid Application. The application selected was not a valid Acrobat application for this uninstaller. Please rerun the uninstaller."
    - I tried all kinds of things. I looked on the forums and took all the different kinds of advice. Same problems persist.
    - The current version is 9.4.4. It hasn't let me update since then.
    I am afraid to just delete the application, because word on the street is that doing that will mess up all your files. So I want to uninstall properly. I heard on the forums that reinstalling is the best way to go.
    I finally found the CS4 disks that I used to install this (and my entire CS4) a few years ago. But now I'm not sure what to do next. These are my challenges:
    - When I put in the first disk, it prompts me to reinstall the entire CS4. I'm not sure how to go in and reinstall just the Acrobat part of it.
         - Adobe doesn't provide this as a download, so I can't download a new version. So the CS4 is my only option, I believe.
    - If my current Acrobat 9 Pro is messed up like it is, what procedure should I follow so as to be able to replace the bad one with the good.
    - Is this version of CS4 Master Collection disks known to have a buggy Acrobat on it? Will installing it not solve the problem?

    I googled Acrobat 1301, and the Adobe help threads I read all recommended that I uninstall the application, so I did. I opened the uninstaller and went through the procedure.
    But then I got the following message:
    "Invalid Application.  The application selected was not a valid Acrobat application for this uninstaller. Please rerun the uninstaller."
    This is weird, because the create date and date modified are all the same for the Adobe Acrobat Pro, Adobe Uninstaller and Adobe Distiller in the folder. So how could it be not a valid Acrobat application for this uninstaller?

  • Help? Adobe Acrobat 11 Standard - just purchased for windows 7 now I can't open pdf files or attach?

    Help!!!
    I just puchased the latest Adobe Acrobat XI Standard.
    I put in the Serial Key number but my computer tells me that a qualifying product could not be found on my computer so I can't use the adobe product. So now I can't open any files or attach pdf files onto emails without this message coming up. I've un-installed the "Adobe Acrobat XI Standard twice! with no luck.
    I need it sorted ASAP as I'm trying to work! Any suggestions?

    DotBellaParis if you are being asked for a qualifying product then it would appear you purchased an upgrade to Acrobat XI Standard.  You should have the opportunity to enter the serial number for your previous purchase of Acrobat.  You can find information on how to locate your previous serial numbers at http://forums.adobe.com/message/3987968#3987968?promoid=KBHJW.
    If you did not intend to purchase an upgrade then I would recommend submitting a return request.  You can find more details on submitting a return at Return, cancel, or exchange an Adobe order - http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html.  Once you have returned the upgrade you can then purchase the full version which will not ask you for a qualifying product or serial number.

  • I need help updating Adobe Acrobat Professional 9 WIN to Adobe Acrobat 9.1.0?

    I had a computer crash and had to reinstall my Adobe Acrobat Pro 9 again and it claims the updates are not available.  Seems when the computer was OK before the crash I had it updated to 9.4 or something like that.  Now I can't install any updates.  All updates are still available on www.adobe.com.  I hope someone can help me get this updated.  When I try opening the Help tab and select Check for Updates it says there are none but I believe there are updates but not supported anymore by Adobe.
    Thanks very much,
    John D.

    You can uninstall Acrobat, run the cleaner tool then re-install or you download the updates manually from the adobe web site.
    Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs
    I could not find Acrobat 9 updates on the Adobe web site. You can find the updates on the adobe ftp file.
    ftp://ftp.adobe.com/pub/adobe/acrobat/win/9.x/

  • Java script created in Adobe Acrobat not working in Reader

    Hello,
    This is my first post, so I hope I chose the correct path for it
    Let's get to the point:
    I created a java script in Adobe Acrobat according to your tutorial page:
    search.matchCase = false;
    search.wordMatching = "BooleanQuery";
    search.bookmarks = false;
    search.query("Mytxt","Folder","../My directory");
    which I found to be working as a let's call it a relative link, beacuse, after copying my file into another folder it would still work. But when I opened the same file in Adobe Reader I got a Console message:
    Acrobat EScript Built-in Functions Version 10.0
    Acrobat SOAP 10.0
    GeneralError: Operation failed.
    Search.query:4:Link undefined:Mouse Up
    Folder does not exist
    As I mentioned before the same file does return the results of the search.query in this folder in Acrobat. Any ideas? Suggestions? What might be the problem?

    Thanks to your suggestion I started digging into the directories, so here's what's funny:
    Title Page - main folder
    Page 1 - sub folder
    Searched PDFs - sub sub folder
    I open the Title Page, then using a bookmark I open a new file in the same window: Page 1. There i have site links that allow me to perform search.query()
    And now to the funny part:
    In Acrobat:
    If I open the "Title Page" and from there go to Page 1 my directory has to be:
    ../Main Folder/Sub Folder/Sub Sub Folder
    to perform the required search
    However If I open the "Page 1" manually my directory for the same java script has to be:
    ../Sub Folder/Sub Sub Folder
    otherwise I get an error.
    Anyway
    Both don't seem to work in Reader....

  • Help! adobe acrobat X pro. Cannot edit a pdf.

    help! I have adobe acrobat X pro. Cannot edit a pdf. watched videos, followed directions, nothing. Tried tools, edit document text, recognize text, then tried even to change font, nothing.

    What are you actually trying to do? Don't forget that Acrobat is not really an editor, but provides some tools to allow minor edits. If the file has security set, you may no be able to do anything.

  • HELP please , Adobe acrobat X assistive technology is slowing adobe down

    I have been trying so hard to stop adobe from showing that black box on the right the that says rotating image and then decomposing page it is slowing the computer down .
    Please someone help me

    Follow the steps below to download Acrobat X Pro.
    1. Navigate to Acrobat XI Downloads page : http://www.adobe.com/cfusion/tdrc/index.cfm?product=acrobat_pro&loc=us
    2. Sign in with your Adobe ID.
    3. Copy and paste the following link on the address bar and hit enter
    Adobe Acrobat X Pro English Windows
    http://trials3.adobe.com/AdobeProducts/APRO/10/win32/AcrobatPro_10_Web_WWEFD.exe
    4. Save the file.
    5. Run the .exe file.

Maybe you are looking for

  • How can I see photos in iphoto 7.1.4 that don;t show up?

    There are photos on my hard drive (under originals) that do not show up in Iphoto 7. When I try to drag the photos over to I photo from the Originals file, I get an error message saying that the photo already exists in the library.

  • Display blank on reboot

    When I reboot the system, the monitor comes up blank. I have tried the tips on the Apple site, and the one that works is to shutdown the computer, unplug the monitor from the device and the power. Let it sit a few hours. Plug it back in and start it

  • Problem running RWBUILDER

    Hello All, Can you please help me run the 'rwbuilder' executable on Red Hat Linux ES 3.0. I have installed Oracle developer suite with no problems and when I try to run the Report Builder (rwbuilder), I have the following errors .. I checked my LD_LI

  • Personalization Launch Pages

    I am using Oracle HRMS SS modules like iRec, Appraisals, OTL and SSHR. I was going through the OA personalization guide and found we can have two kind of personalization options: 1. Page Layout Personalization 2. Page Hierarchy Personalization But in

  • Is there a way to upgrade JDK on oracle 11g without upgrading oracle?

    Hi, I want to have the latest version of JDK on my oracle 11g server. Is there a way to upgrade JDK on oracle 11g without upgrading oracle? My Oracle version is 11.2.0.3 and java version is 1.5.0_35. Want to upgarde to 1.6 Thanks. Edited by: 945559 o