Results 1 to 7 of 7
  1. #1
    2 Star Lounger
    Join Date
    Feb 2001
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding fields (Office 2003)

    I haven't worked much with Word besides the basic text editing, so now I'm faced with a task that I'm not sure how to work with. Let's say I have a contract that I will make it as 'generic', whereby whenever the client's name should appear, it needs to be entered in the word document as 'enter client's name here' or something similar. Then the person who will actually update the contract to a particular client, will change that field to the actual client's name.
    I could go through the whole document and enter the words 'enter client's name here' manually and make it bold and italic and the person will simply replace these words with the client's name, but I've seen somewhere a while ago something that they called 'fields', whereby when it showed the text (ex. client') and when you clicked on it, the text disappeared and it allowed you to enter the name of the client. Also this was done automatically (once you entered in one place, it changed it throughout the whole document automatically.
    Could someone please explain to me (step by step) how to create such a field if possible, I'd really appreciate it!

    Thanks,
    kislany

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Adding fields (Office 2003)

    One way to do this is using form fields in a document protected for forms.
    <UL><LI>Display the Forms toolbar (View | Toolbar | Forms).
    <LI>Position the insertion point where you want the user to enter some information.
    <LI>Type a descriptive test, then click the Text Form Field button on the Forms toolbar.
    <LI>Double click the new form field.
    <LI>Enter a bookmark name for the field (without spaces).
    <LI>Tick the check box 'Calculate on exit'.
    <LI>Click OK.
    <LI>Position the insertion point where you want to refer to the information.
    <LI>Press Ctrl+F9 to insert field braces { }.
    <LI>Type the bookmark name between the braces.
    <LI>Press F9 to hide the field codes and update the field - it will disappear for the moment.
    <LI>Repeat for other information you want the user to enter.
    <LI>Click the Protect Form button on the Forms toolbar.
    <LI>You can now enter information in the Text Form Field(s). As soon as you tab out of a form field, the references to the form field will be updated.
    <LI>You won't be able to edit the rest of the text. If you wish, you can divide your document into protected and unprotected sections.
    <LI>Unprotect the document before modifying it further.
    <LI>To add a section, select Insert | Break, click Continuous, then click OK.
    <LI>To specify which sections are protected:
    <UL><LI>Select Tools | Protect Document...
    <LI>Tick 'Allow only this type of editing in the document'.
    <LI>Select 'Filling in forms' from the dropdown.
    <LI>Click 'Select sections...'
    <LI>Clear the check box for sections you want to be unprotected, then click OK.
    <LI>Click 'Yes, Start Enforcing Protection'.
    <LI>You can provide a password if you wish. Leave blank if you don't want to set a password.[/list]<LI>You can only edit form fields in the protected section(s), and enter text freely in the unprotected section(s).[/list]See screenshot. I'll attach a sample document in my next reply.
    Attached Images Attached Images
    • File Type: png x.PNG (24.1 KB, 0 views)

  3. #3
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Adding fields (Office 2003)

    Sample document attached.
    Attached Files Attached Files

  4. #4
    Star Lounger
    Join Date
    May 2002
    Location
    Brisbane, Queensland, Australia
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding fields (Office 2003)

    If Hans solution isn't attractive, you could consider buying Bill Coan's Word add-in Simpleprompter (no I'm not on commission, I just find it a great add-in). The learning curve (important for me) is very easy. It works for Mac & Windows. This is no good if you are distributing the documents for others who do not have the simpleprompter add-in installed.

    1. Install the add-in
    2. Enter your prompts as plain text. e.g. this is the text you enter to ask for a text input. [stUser PromptDefault Value]
    3. Run the Simpleprompter
    4. Complete the prompts.
    <IMG SRC=http://www.cogweb.net.au/keyser/images/prompt.jpg>

    You are only prompted once for any identical prompts e.g. client name.

    You are also able to edit the entire document, undo your prompts & have complex prompts without too much trouble.

    We use Simplepprompter after a mail merge from our client database program.

  5. #5
    Star Lounger
    Join Date
    Jan 2001
    Location
    UK, Surrey
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding fields (Office 2003)

    I'd use custom fields and a macro to update them.

    If you add [a] custom field[s] to the template document ("Client name", "client address") you can then use a macro - perhaps an autonew macro, or one run from a button - to prompt the user for the information, and then to update the document.

    You can add custom fields from the File|Information - oops, showing my age here (it was that several versions ago) - I mean File|PropertIes, and click on the "Custom" tab.

  6. #6
    2 Star Lounger
    Join Date
    Feb 2001
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding fields (Office 2003)

    Thanks for your replies and quick help. I will go through each and see which is mostly suitable for what I need. I need to test a few case scenarios first.

    Cheers,
    kislany

  7. #7
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Adding fields (Office 2003)

    I sometimes use Custom Document Properties, and { DOCPROPERTY } fields to do this job. I use Autotext entries to insert the fields where I need them.

    I also use a simple VBA form to change the document properties and updates all the fields in the document.

    StuartR

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •