I have a dialog list field called “FixedPricingYears”. This field has the values “2 years”, “3 years”, “4 years”. When a user selects any choice except for 2 years, a message displays using @Prompt([Ok];“CMS Reminder”;“This Conract must be signed per (DSA) Policy.”);“”)
My dilemma is…I need the message to only display one time, even though the condition is true.
Is this for a new document only? Or every time the document is edited you want to issue this reminder?
In any case, you probably can do something like this in the field translation formula:
@If(
!(UserHasBeenWarned = “”);
FixedPricingYears;
FixedPricingYears = “2 years”:“”;
FixedPricingYears;
UserHasBeenWarned = “”;
@Do(
@Prompt([Ok];“CMS Reminder”;“This Conract must be signed per (DSA) Policy.”);
@SetField(“UserHasBeenWarned”; “1”);
FixedPricingYears
);
FixedPricingYears
)
Now, you may need to remove the field UserHasBeenWarned for every editing session if you need the warning to appear multiple times. The way I have it now is that once the user is warned, that’s it - no more warning.