Calculation based on the box help please...

I'm doing a text box run a calculation based on whether or not a radio button is checked or not.

If the radio button named 'Built' in the group 'Type of Quilting' is checked, then the text box "By squirting the load" must find the value of the field "Total Square Inches" and multiply this total by 0.015 and show the new total in the text box as a monetary value, if the 'Casting' radio button is not checked the value in the field 'Charge of basting"should be"- 0 -".

I can get the calculation that I want this:

var v1 = getField("Total_Square_Inches").value; Event.Value = v1 * 0.015;

But how to understand the function of the radio button and "- 0 -"?

If the name of the field is built, the calculation script could be:

(function () {}

Get field values

var v1 = getField("Total_Square_Inches").value;

var v2 = getField("Basting").value;

Set this field value

If the check box is selected in function

If (v2 = 'Off') {}

Event.Value = 0;

} else {}

Event.Value = v1 * 0.015;

}

})();

Tags: Acrobat

Similar Questions

  • Calculate values based on the boxes are checked - for Dummies...

    Hello and thank you all in advance for your help. I'm trying to calculate a value based on the boxes checked. Specifically, I would like to add a particular value $$ each CheckBox and if this box is checked, I want to add to the total rental value (see screenshot below):

    Screenshot (1).png

    As you can see in the screenshot that I have different areas that can be selected (first floor, court before, etc.), I want to assign a value to the checkbox of each region (and added value for others) and calculate a total in the "Balance of rental fees" less the deposit. I'm new with java and scripts but not know how to do it in an excel formula. I guess it's very different from what little I know of Java. Any help you can give me would be greatly appreciated.

    Calculation options are in the text field. In this screen, you only need to set the value of exports to the amount this box represents.

  • A drop-down list can do the calculation based on the value selected in a drop down list?

    Form Acrobat X Pro Adobe

    Can I have a drop down list create a calculation based on the value selected in the menu drop-down?

    We have a set lunch and want the user to choose to be "A lunch', 'Lunch B'"C Lunch"or"just the milk. "

    It is for each of the 5 days of the week. There are therefore 5 drop downs, which have all the same 4 above choice.

    If the user chooses among the 3 lunches and then put $2.00 in the total box at the end of the line. If 'Just the milk' may put 0.50 in the box.

    The total area at the end of the line must keep a record of all 5 days and give a total.

    So if someone chooses lunch A LUN, sea and Sun and just milk for Tuesday and Thursday and then the total for this week must be $7,00

    Is it possible by using code or something?

    I did it in Excel, but we need it is an Adobe pdf file.

    TIA

    OK the total box has a 10 all the time to make it look like $ 2.00 for

    everything.

    Before even that I chose something there are 10 in the box.

    I am a newbie to Adobe scripting Total used VB/A .NET etc ' 1980

    However.

    Can you do any debugging in code?

    Initialize the sum

    var sum = 0;

    Make a loop on the drop-down list boxes and add the cost of the invoice sum

    for (var i = 1; i)< 6;="" i="" +="1)">

    Sum += getField("Week1Day"_+_i).value == 'just milk? 0.50: 2,00;

    }

    Set this field to the amount

    Event.Value = sum;

  • I reinstall xp on my toshiba laptop Dungeon wonders for SDBUS. SYS file that is not on the cd help please, I did once before without this problem

    I reinstall xp on my toshiba laptop Dungeon wonders for SDBUS. SYS file that is not on the cd help please, I did once before without this problem

    Please try to use different CD or simply remove the CD then insert again the installation request for the files.

  • Calculation based on the checkbox is enabled?

    I have a form that sub total a group of field. Based on this subtotal I need to calculate a tax of 5% finance, if the box is checked, otherwise the financing costs are zero. Any help would be appreciated. Thank you

    You can use this script to custom calculation for the field of cost of funding. Of course, you will need to adjust the field names in the code to match those of your file.

    if (this.getField("CheckBox1").value=="Off") {
        event.value = 0;
    } else {
        event.value = Number(this.getField("SubTotal").value) * 0.05;
    }
    
  • Windows will not start since the update :( Help, please

    Windows could not start. a recent hardware or software change might be the problem

    file\windows\system32\config\system
    status: 0xc00000e9

    When I try to start the system restart that nothing happens

    When I try to restore the computer to factory settings it says that the necessary files are not there.

    My computer was working fine until I installed an automatic update from microsoft. Help, please

    For any problem with the recovery of software/process to factory settings, you will need to contact the manufacturer of your computer.
    This isn't their recovery process, Microsoft.

    Windows Update Forum:

    You will get the best help for any problem of Update/Service Pack in the Windows Update Forum; the link below:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/threads

    When you repost here, kindly include the Error Codes, and exactly what is happening when you try to update.

    In this way, you will receive the best help.

    See you soon.

    Mick Murphy - Microsoft partner

  • Add lines to insert a table based on the box and the values in the LOV

    I have two options (1) the list of values (2) box (2 values) .the are required field.when I click on create lines button and then insert table/slot (fire) form of table, based on my selected lov values (for example 3 selected then 3 rows only) and the value of the checkbox.

    If I select 3 values LOV and then check the box 1

    SEQ / / desc box SL (1)
    1DESC 11
    2DESC 22
    3DESC 33

    If I select 5 values LOV and then check the box 0

    Header 1 / / desc box SL (0)
    1DESC 10
    2DESC 21
    3.. 5DESC 3... 52.. 5

    my workspace: ram_r & d

    username/password: aramani/apex

    App: https://apex.oracle.com/pls/apex/f?p=72423:1:102019883635814:NO

    Thank you

    RAM

    It has achieved the goal, thread:multi line table based on LOV

  • 'Select calculation fields', uncheck the boxes.

    The only way I can get them to check is with the 'select all', which is obviously not useful... and I can't uncheck either. Thus, they are frozen. I tried a second time after the deactivation of the touch screen, but no luck. Software problem...

    Field_calculation.jpg@

    You can use the space bar to toggle checkboxes and the tab key to access each. On some systems, this happens for some reason any. Some people have success by clicking near the boxes.

  • Tax calculation based on the user in the box input and displaying the result.

    Thanks to WhyIsThisMe for starting me on my first draft script & Jono! I'm almost there with my purchase requisition form (90% manufactured from the tutorial).  Everything works except for the taxable column

    form.JPG

    I can't understand the correct syntax to check the value of the checkbox in the column taxable and then do the math for the tax based on user input in the field % tax

    (total * stateTaxPercent / 100)

    Essentially, I want to make the calculation only the taxable = 1, and then display the cumulative tax in the tax field.

    Should I use mouseup as trigger to perform the calculation of the tax and save the result as a variable and displays the variable in the tax field? Then if another taxable box gets checked, I could add the new calculation of the variable. Not sure whether in an elegant way to get there.

    ?

    I would put the following text in the change event of each taxable check box (in formcalc):

    If ($ == 1) then

    tax = tax + (amount * 0,0825)

    ElseIf ($ == 0) then

    tax = tax - (quantity * 0,0825)

    endif

    (where 'tax' is what you called your total tax box and the 'amount' is what you called your box of price).

  • utility based on the Web shows again the old version of the firmware - HELP PLEASE

    In September of last year, I replaced my old Linksys with a new (BEFSR41 ver 4.3).  I started to get in trouble yesterday, so I consulted the web-based utility and noticed that the window says: the firmware 2.0 version!

    I tried to update to the latest firmware available for my model, following the instructions on the site but something went wrong and the firmware has been altered. Finally, I managed to update the firmware via tftp utility, and he said that the upgrade has gone through. But the utility still shows the version of the firmware 2.0.  Under the router > status reads as follows:

    Capture (share.field_33_UI_share) Firmware Version: 2.00.4 build 7, January 20, 2010

    I am very confused. Which is the latest firmware or I get it confused with the 4.3 version number?

    I really hesitate to update the firmware again after the problems I had the first time.  If anyone can give me some advice on what to do, I would really appreciate it.

    You confuse the hardware version of the router with the version of the firmware.

    The BEFSR41 is the model. One physical versions of this model. Each version contains a different material. The exact hardware version is printed on the label under the router.

    The firmware version is the version of the firmware (software) running on the router. It is important that the firmware used is compatible with the hardware version of the router. For this reason, you must select the correct hardware on the router Linksys support download site version to be sure to choose the right firmware compatible with your router.

    The latest version of the firmware of the BEFSR41 v4.3 is Ver.2.00.4 Build 7. You have the latest firmware.

  • I bought a Toshiba laptop and trying to figure out how to clean the plant, out of the box completely please help... has been able to do on my desk without a windows disk

    is there a recovery of the system on the hard drive or something like my office

    See your user manual for more information about the recovery partition.  If you do not, go to the Web from Toshiba site and see if you can get a downloadable copy.

    Check out this link for more information on the Toshiba recovery media.

  • Calculation based on the option button

    Here, any help would be appreciated. I know enough Javascript to get me in trouble, and that's it.

    I have a form with two radio buttons ('progress' and 'final') in a group called "billing". Below this, I have several calculation fields.

    When the 'progress' is selected, the "undefined_7" field should use the formula (undefined_6) *.10

    If 'final' is checked, the same field must be set to zero.

    With the help of Arobat X Pro.

    Thanks in advance!

    Assuming that the value of exports (aka Value Button, Radio button choice) for two boxes is 'progress' and 'final', the custom calculation script might look like:

    Custom calculation script

    (function () {}

    Get field values

    var v1 = getField("billing").valueAsString;

    var v2 = getField("undefined_6").value;

    switch (v1) {}

    case "progress":

    Event.Value = v2 / 10;

    break;

    case "final":

    Event.Value = 0;

    break;

    default: / / no radio button is selected (v1 = 'Off') which may never come

    Event.Value = "";

    }

    })();

  • Creation of calculation based on the result of the drop-down list

    Hello. I hope that someone will be kind enough to help me with some Javascript because it seems that I am too blonde and middle ages to figure out by myself.

    I have a drop-down list box 'Member '. The Yes value is 0. The value is 10.

    Then I have three check boxes. "Day 1" value is 35. "Day2" value is 25. 'Dinner' value is 65.

    If this option is enabled, I want the sum of the check boxes, if they are checked. (for example, total if all checked = 125)

    If no is selected, the value of each check box rose 10. (for example, total if all checked = 155)

    I use Acrobat X.

    Thanks in advance.

    Due to the fact that you want to add a constant number of values if a given condition is met then you will need to use a custom calculation script.

    get the value of the fields

    var cMember = Number (this.getField("Member").value);

    var nDay1 = this.getField("Day1").value;

    var nDay2 = this.getField("Day2").value;

    var nDinner = this.getField("Dinner").value;

    define a varaiable for the sum

    var sum = 0;

    day 1 more SETTINGS

    If (nDay1! = "Off") the sum += (nDay1) Number + cMember;

    day 2 more SETTINGS

    If (Day2! = "Off") the sum += (nDay2) Number + cMember;

    more dinner SETTINGS

    If (nDinner! = "Off") the sum += (nDinner) Number + cMember;

    Event.Value = sum;

    Excel is easy if you would see Microsoft calculations.

  • Air the fan runs all the time help please

    Hello

    my air fan macbookbook just Can not stop, its rotation at high speed that I can't use my laptop comfortably

    I tried to reset the SMC, but did not work it runs fast even before the charging system

    I've included screenshots of istat cpu and sensors please take a look

    any help would be appreciated

  • Hi, I bought 6 Iphon from another country and it does not work in the USA help please!

    Hi recently I went to South Korea and I bought the iphone 6 in there and used it

    And I'm back to try from the USA at the same use iphone 6, but it does not work with my verizon sim card

    So I went to the verzion store to find the problem but they could also solved the problem

    Can you help me please?

    N ° do not use this phone on Verizon. Verizon is a CDMA carrier. It can be possible to operate on the Verizon LTE network, but they don't will not activate it on their CDMA network. Only unlocked iPhones they will activate on their network (excluding those sold specifically for Verizon) are the 6s and 6 s more.

Maybe you are looking for

  • How can I make all gridlines in a table disappear?

    I use a table to make a table of Storyboard.  Once I'm done, I want to print the storyboard WITHOUT no grid table.  I click on the 'grid' boxes and can get rid of SOME lines, but not all.  I have a file corrupted... or there is something that I do ev

  • How to change photo display options?

    10.11 OS on iMac in Photos. I would like to see pictures on the top and not the bottom of the window / page. Where are the basic functions of a gone Mac usage? I can't find any option to change my preference viewing? Pls help.

  • path to vi the asynchronous call

    I'm trying to implement a splash screen that calls my main VI of asynchronously and displays messages during the charge of the VI.  Everything works fine in the development system, but it is not the case in EXE.  This is my first attempt to call a VI

  • I can connect OK to Windows Live Messenger, but the Messenger pop up still have the loading circle constantly on.

    Original title: loading windows live messenger. Can I sign OK, but the Messenger pop up again a loading circle constantly on. I have no control over the Messenger at all.  I HAV done a shoot of disorder and he just incompatible application. can someo

  • Connexiona Photosmart 5515 ePrint or connected HP fails

    Printer is connected via WiFi to the same network as I type this message. Printer received a static IP (192.168.3.235) which I am able to ping successfully of all computers on the network: dcanady-x-3: ~ darren$ ping 192.168.3.235PING 192.168.3.235 (