web form - VAT calculator

I'm trying to build a VAT calculator.

The user selects the country (drop down combo) they are from and the product they are purchasing. The web form then calculates the amount of VAT and adds it to the cost of the product. I know how to create the algorithm for this form BUT...

how do I find the value needed for the VAT in the calculation.

I've tried using if statements with a country.Value which is set before hand. for example one item in the list might have a value of 0.21 (for 21%). This does not seem to work (I get error messages).

Can anyone tell me how I would accomplish this relatively simple task...

Please help. Many thanks.



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion