Hi,
I’m trying to bring up a pop up window after clicking on an action button for users to enter a text string. This string will then be transfered to a field in the current document. I want to limit all modification access to the document so I plan to hide the “Edit” button and only show this “input” button.
What are some of the ways I can approach this?
I’ve tried using the “Inputbox” command but it only allows me to enter one line of text. User input will likely be a few lines of text.
Thanks.
WC
Subject: Pop up window for user text input
You’ll need to use a dialogbox to get a reasonable amount of “elbow room”. Create a form with an OS-stle text field with the height & width you need, and on the second tab select “Allow multiple lines”. (Notes-style fields will change the size of their container – the table – so they will push the content out of the dialog window.)
Create a document in the back-end, then dialog it through this form. Once the user clicks OK, you can get the text from the NotesItem on the new document. Since the doc is never saved, it will not add to your database, but it will be available in memory as long as your code is running.