Any help will be appreciated and thank you in advance.
Here is what I have:
Expand|Select|Wrap|Line Numbers
- var AmtShipping = this.getField("Cost").value;
- var Country = this.getField("Country").value;
- if( AmtShipping == 0)
- event.value = '';
- if(( AmtShipping == 7)&&(Country ==USA))
- event.value = 9.00;
- if((AmtShipping ==9)&&( Country ==USA))
- event.value = 4.50;
- if((AmtShipping <=50)&&( Country ==USA))
- event.value = 9.00;
- if((AmtShipping <=100)&&( Country ==USA))
- event.value = 12.00;
- if((AmtShipping <=150)&&( Country ==USA))
- event.value = 12.00;
- if( AmtShipping >= 151)
- {
- event.value = 25.00};
- if((AmtShipping <=50)&&( Country !=USA))
- event.value = 18.00;
- if((AmtShipping <=100)&&( Country !=USA))
- event.value = 22.00;
- if((AmtShipping <=150)&&( Country !=USA))
- event.value = 27.00;
- if( AmtShipping >= 151)
- {
- event.value = 32.00};
Thank you in advance