I am a javascript neophyte and I'm on Designer 7.0. I'd like to calculate a 10% penalty if the client clicks a checkbox. I tried the following javascript statement for the checkbox:
if (this.rawValue == true)
{Penalty.rawValue = remittanceamount*.1;}
else {Penalty.rawValue = 0;}
The calculation does not seem to work with the rawValue expression. I think it is meant for constant values, as I was able to get the following to work:
if (this.rawValue == true)
{Penalty.rawValue = 10;}
I would appreciate any help you may be able to provide. Thank you!
if ($.rawValue == 1)
{
Penalty.rawValue = remittanceamount.rawValue * 0.1;
} else {
Penalty.rawValue = 0;
}
George Kaiser