I try to make a script using the Item choice from a DDList.
how I can make it to work?
Thanks
if DisplayItem(vChoice)="ON";
{
form1.Page1.HST.rawValue=0.13* form1.Page1.Table1.Row4.Subtotal.rawValue;
}
Views
Replies
Total Likes
Hi mmgiath,
use == instead of =
Let me know if it helps.
Thanks,
VJ
Views
Replies
Total Likes
I have this script on calculate event for a DDList but does not work!
What I am doing wrong
Thanks
if DisplayItem(vChoice)=="ON";
{
form1.Page1.HST.rawValue=0.13* form1.Page1.Table1.Row4.Subtotal.rawValue;
}
else
{
form1.Page1.HST.rawValue="";
}
Views
Replies
Total Likes
The line: if DisplayItem(vChoice)=="ON";
should be: if (DisplayItem(vChoice)=="ON")
And I'm not sure what this is trying to do (looks like an unfinished equation) but there should be a semicolon at the end:
form1.Page1.HST.rawValue=0.13*
Views
Replies
Total Likes