locked
Form Entry Text Field and gray text as information RRS feed

  • Question

  • I created a table for data entry. One of my table data cells being the "SSIS Project Name". Upon initial entry, I'd like something to appear in like a shaded box which more or less says "Enter the SSIS Project Name" as an informational message in that data cell.

    How can I accomplish this in my form?

    Thanks for your review and am hopeful for a reply.

    Monday, February 22, 2016 3:09 PM

Answers

  • You could use either a MACROBUTTON field or a text Content Control.

    A MACROBUTTON field might be coded as:
    {MACROBUTTON NoMacro Enter the SSIS Project Name}
    where the field braces (i.e. {}) are created in the document via Ctrl-F9. After creating the field, press F9 to update the display. When a use clicks on the display and starts typing, the field gets deleted. To display the field with shading, the user needs to choose Word's 'Always' option for Field shading (see under File|Options|Advanced>Show Document Content).

    A text Content Control  can be inserted via Developer>Controls. You can then set the placeholder text to 'Enter the SSIS Project Name' by choosing 'Design Mode' then pasting/typing your text over the default 'Click here to enter text' prompt. Exit Design Mode when done.


    Cheers
    Paul Edstein
    [MS MVP - Word]

    • Proposed as answer by David_JunFeng Tuesday, February 23, 2016 5:21 AM
    • Marked as answer by David_JunFeng Thursday, March 3, 2016 7:01 AM
    Tuesday, February 23, 2016 1:53 AM