Multiple input requests in Lotus Script

I have inherited an application. I have an update request to create a calendar reminder while in aform and attach a doc link to the form. Where I need help is that my user only wants one popup window to appear and provide 3 pieces of information from the user that I need to capture and use to create the reminder. I have everything working except the multiple pieces of information. I am using Lotus Script to do this and I am using the InputBox th get each piece of information, one at a time. Does anyone have a way to create a popup (or form) that can be used to do this?

Subject: Multiple input requests in Lotus Script

I would create a form / subform to use as a dialog box requesting the piece of information you want.

Look at notesuiworkspace and the method dialogbox

DialogBox method

Brings up a dialog box that displays the current document (either open or selected in a view) or a specified document using a form you specify. The dialog box shares fields with the underlying document. The user interacts with the dialog box as usual, clicking OK or Cancel when finished.

This function can be used with any form, but it’s particularly useful with forms that contain a single layout region or table, because the user can interact with the layout region or table as if it were a dialog box.

Defined in

NotesUIWorkspace

Syntax

flag = notesUIWorkspace.DialogBox( form$ , [autoHorzFit] , [autoVertFit] , [noCancel] , [noNewFields] ,

[noFieldUpdate] , [readOnly] , [title$] , [notesDocument] , [sizeToTable] , [noOkCancel] , [okCancelAtBottom] )

Subject: Multiple input requests in Lotus Script

You can create a form, using a table for controling the layout, that may be used as a dialog box. In Lotusscript, you’ll use the notesUIWorkspace.DialogBox method to open the dialogbox for user input. When using Dialogbox in this way, you should created a temporary NotesDocument that will be used by the method to store the values the user inputs and use in the rest of your code. See Designer help for the exact syntax for the method.