Java script to add vat /sales tax calculation

Ask a Question related to Adobe Acrobat Windows, Design and Development.

  1. #1

    Default Java script to add vat /sales tax calculation

    Hi,
    I have designed a form for contractor’s invoices and I would like some help with the java script to work out this calculation.

    The calculation needs to times the stores value by the VAT rate % (sales tax)

    i.e. 100 x 17.5% = 17.50

    Can this be done and what is the custom calculation script?
    Any help would be most welcome.

    I can provide a copy of the form if required.
    aopps5@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. help with java script
      Hi, can someone please help me. on my page http://www.watersportsproducts.com/store2/test.htm - I can not get the java script to return the right...
    2. CF Grid / Java Script / Action Script
      Hi, Does anyone know of a good reference for the attributes CFgrid exposes in a flash form? eg. I would like to select the first row on load. ...
    3. Calculation script not running.
      You can downloaded from here: <http://www11.brinkster.com/ispace/xml/90FL(01-02).pdf>
    4. Mac and Java Script?
      Hello. I have an asp page with java script that calls a clicked event on some radio buttons. It works as expected except for Mac users. They are...
    5. Do you need to use Java script in ASP .Net?
      Hi, Experts, With the great functionalities in ASP .net, do we still need to use JavaScript? Thanks Jerry
  3. #2

    Default Re: Java script to add vat /sales tax calculation

    Hi,
    Please provide a copy.

    Paul Hughes
    jabba40@adobeforums.com Guest

  4. #3

    Default Re: Java script to add vat /sales tax calculation

    var a = this.getField("SubTtl");
    var b = this.getField("Shipping");
    var c = this.getField("Installation");
    var d = this.getField("tax");
    event.value = (a.value + b.value + c.value)* d.value;

    I think this might be of assistance. I use this in a PO

    Simple but it works
    Larry_Tilley@adobeforums.com Guest

  5. #4

    Default Re: Java script to add vat /sales tax calculation

    You have to pay tax on shipping and installation?
    W_T_Allen@adobeforums.com Guest

  6. #5

    Default Re: Java script to add vat /sales tax calculation

    Welcome to Texas.
    Larry_Tilley@adobeforums.com Guest

  7. #6

    Default Re: Java script to add vat /sales tax calculation

    what is your email jabba40 so I can send you the form
    aopps5@adobeforums.com Guest

  8. #7

    Default Re: Java script to add vat /sales tax calculation

    Hi,
    It's [email]paul.hughes@symphony-group.co.uk[/email]

    Paul Hughes
    jabba40@adobeforums.com Guest

  9. #8

    Default Re: Java script to add vat /sales tax calculation

    >You have to pay tax on shipping and installation?

    In the UK, certainly. It's a legal requirement to charge it.


    Aandi Inston
    Aandi_Inston@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139