Thanks a ton ! it works
However
1) when i select 1000 as the quantity the amount 500 should get cleared, which is not happening
2) How do I use multiple combinations? I tried using the following
(function(){
if(fieldname2==’500′ && fieldname4==’glossy’ && fieldname5==’Yes’ );
return 500;
if(fieldname2==’1000′ && fieldname4==’glossy’ && fieldname5==’Yes’ );
return 600;
})()
It doesn’t work? Is there any syntax problem ?
Thanks