


Hey everyone -
I need your help.
Field1 - Allowance
Field 2 - TotalReceipts
Field 3 needs to show:
IF Field1 < Field2 then show Field1's amount
IF Field1 > Field2 then show Field2's amount
I've read the LCD Scripting Basics for ver 8, but I still can't get it right. I've tried so many things my head is spinning. Can someone please help me?
Thanks
Views
Replies
Sign in to like this content
Total Likes
Assuming you are using Javascript:
if (Allowance.rawValue < TotalReceipts.rawValue){
Don't know what you mean by show ....but this is where that code woudl go
} else {
show field 2 amount
}
You have not taken into account if th etwo fields are equal.
Paul
Views
Replies
Sign in to like this content
Total Likes
Assuming you are using Javascript:
if (Allowance.rawValue < TotalReceipts.rawValue){
Don't know what you mean by show ....but this is where that code woudl go
} else {
show field 2 amount
}
You have not taken into account if th etwo fields are equal.
Paul
Views
Replies
Sign in to like this content
Total Likes
Thank you pguerett. This worked perfect.
Views
Replies
Sign in to like this content
Total Likes