Domino Code Fragment

Code Name*
Toggling Values using a Button
Date*
07/04/2025
Source (or email address if you prefer)*
[email protected]
IP address:.172.69.214.34
Description*
The following formula allows you to "toggle" between values using a button. For example, a field that displays either a yes or no value is a good use of this technique. See the formula below using a Yes/No example:
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
The results, pressing the button assigns the value "No". Press the button again assigns the value "Yes".
Files/Graphics attachments (if applicable): Code:
temp := field name;
temp1 := "field name";
@If(temp = "Yes"; @SetField(temp1; "No"); @SetField(temp1; "Yes"))