Domino Code Fragment

Code Name*
Multiple @Prompt Evaluations
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.18.118.164.121
Description*
When prompting a user and the next prompt is contingent on making an initial selection and not selecting CANCEL, follow this formula:
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:
Try this button

You will notice that when you press cancel, you get no further formula evaluation (it does not evaluate the second prompt). If you do not select any thing from the box, You will get a numeric return value of 1. When you select something obviously you get what you selected.


Item := @Prompt([OKCANCELLIST]; "Item List"; "Please make a selection"; ""; "A" : "B" : "C");
@Prompt([OK]; "You Selected"; @Text(Item))