-1

In Domino Designer is there a way to open a MessageBox with a button to then enable the user to input something, then paste the users input into another field?

Jack
  • 73
  • 6

2 Answers2

3

Since you want the user to be able to input content you should use the Lotusscript InputBox method.

Per Henrik Lausten
  • 21,331
  • 3
  • 29
  • 76
  • There's also the very handy NotesUIWorkspace.Dialogbox method, which will allow you to have greater control over the type of user input (assuming correct design of the dialog form); you can also do the equivalent as HTML and JavaScript in the browser (with or without a pseudo-modal overlay). The dialogbox has some distinct advantages, especially where dates are concerned. – Stan Rogers May 04 '15 at 11:09
3

Formula language allows you to write a one-liner for this:

FIELD YourField := @Prompt([OkCancelEdit]; "Enter Your Value"; "Type your value in the box below:"; "Default Value"); ""  

Put this code into a formula button.

Knut Herrmann
  • 30,880
  • 4
  • 31
  • 67