0
Not equal sign
hi what is the not equal sign in ninxo?
Also how to create a display only if rule with checkboxes?
3 replies
-
Hi Simon -
A "not equal" sign is !=. So something like
if firstname != "Kou" then 1 end
For checkboxes, just to be sure you are talking about a "Yes/No" field set to checkbox? If so, then are evaluated as either "= true" or "!=true". So for a display only you can do:
checkboxFieldname = true
I hope this helps.
-
Hi Simon
Not equal is !=
Checkboxes use the 'Yes / No' field type. If we have one called Checkbox then
Checkbox
Results in "Yes" or "No"
number( Checkbox )
Results in 1 or 0
But you don't need to check for these values in your code, this works OK
if Checkbox then a := a + 1 else a:= a - 1 end
Hope that helps
Regards John
-
stating "not" also works
ie... if not(DispFlag) then 1
Content aside
- 2 yrs agoLast active
- 3Replies
- 396Views
-
4
Following