Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lotus Script to prompt a user with a list of values.

Status
Not open for further replies.

MoGryph

Programmer
Nov 1, 2000
99
US
I'm searching for a way to prompt a user with something similar to an @Prompt Dialog. More specifically, I would like to get some input from the user, by useing an @Prompt([OKCANCELLIST]) with the list parameters.

If there's another way that I can pop up some kind of selection list for a user to pick values from, I'd be happy with that.

Anyone have any idea how I can do this? It must be in LotusScript.

Thanks
-MoGryph
 
In Form Design, Create a field of type "Keyword". maintain it as a "dialoge list" (on the second tab) You can enter static text if you want the field to never change, or you can use a formula to create the list when the document is opened. There are options for selecting multiple values and or creating new entries that are not on your lists. Make sure that you do not click the Do not show Keyword helper option. You can then use the field name as a varialbe of what ever wa selected in any formula's you want. You can also in teh design pane select the default value that you want entered.

I usually put a prompt in my list, use that as the default and then test that the valus is no longer equal to the prompt string fro error handling.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top