Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 87055

Re: claculation discount based on being a member or not radio buttons

$
0
0

it worked i get a regular value, but the yes button does not give the price after discount value! help me with the bold line please.

 

 

var oFldSel = this.getField("Group2");

var oFldSub = this.getField("COST2");

 

event.value =  oFldSub.value; // assume no discount;

 

if(oFldSel.value == "Yes") {

 

    // compute discount

     event = oFldSub.value * 0.8;

}


Viewing all articles
Browse latest Browse all 87055

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>