These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Calculating postage based on weight using >=, >, < and <= statements

spitfiregt6
Registered: Feb 17 2010
Posts: 3

I've set up a dropdown list for the country that items are being mailed to. Each country has a different postage amount. My total cost for shipping and handling is in a calculated numeric field called "PostageSH". The total postage varies with the total weight of an order automatically entered in a numeric field called "ShpWt".

For some reason, I can't get the PostageSH to register the desired amounts. A link to my form is at:
http://mikeross-dds.com/NASS_REGALIA/REGALIA_STOREnewSH.pdf

I think the problem may be in using incorrect language and sympols used in the script for calculating PostageSH.

I've tried searching the help file, but as a newbie I'm not sure what to search for.

Any help would be greatly appreciated,

TIA, Mike

nh39
Registered: Feb 19 2010
Posts: 7
Can you post your script / an explanation of your logic? I can't download external files on to my pc.
spitfiregt6
Registered: Feb 17 2010
Posts: 3
Sorry, I have to post to the forum more than 10 times in order to use HTML, so I'm not allowed to post the script.

I have put the script on my website as a text file for viewing:
http://mikeross-dds.com/NASS_REGALIA/script.txt

My logic may be flawed, but I'm sure there's a correct scripting that I'm missing. I'm trying to set up the form to calculate postage based upon the weight of the items being sold. Prices will be assigned to a range of weights. For example, If an order weighs 0.25 lbs or less, it would cost $1.90 in shipping and handling. An order between 0.25 lbs and equal to or less than 0.50 lbs would cost $2.25 S&H and so on.