Manage Learn to apply best practices and optimize your operations.

Random message prompt

Change the reminder messages up on the screen every time to increase the chances of users actually reading the message.

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.

Dig Deeper on Lotus Notes Domino Formula Language

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close