We have a system that is quite complex and often throws reminder messages up on the screen for the users. Unfortunately, they get use to seeing these and often just click OK without reading them and taking the appropriate action. So, I decided to change the message every time to increase the chances of them actually reading the message.
It is very simple, just create two fields on the form in question, the first is a list of all the messages you want to be able to choose from. This might be 20 or more different eye catching messages all giving the same basic message.
Field1 (Computed, Text)
REM "A list of all the message options
separated by a delimiter, around 20
should do"; " Don't forget to
perform xxxxx task ** Have you
performed xxxxxx
task ** Before completion, remember
to perform xxxxxx task"
The second field is used to create the screen prompt. This can be based on a number of options, e.g., when the document is saved, or when another field is left blank etc. Set the random value to match the number of message options in your message list field.
Field2 (Text, Editible, Input Validation)
-- make sure you hide the field
using hide paragraph on the form.
@If(@IsDocBeingSaved;@Prompt([OK];
"Message Header of your choice";@Word
(Field1;"**";20 *@Random+1));@Success)
I have yet to explore the many ways to use this principle, but you could also make the messages part of a configuration list, so they could be updated by a system administrator and kept fresh.
Do you have comments on this tip? Let us know.
This tip was submitted to the SearchDomino.com tip exchange by member Jerry Eaton. Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.