Results 1 to 6 of 6
  1. #1
    Star Lounger
    Join Date
    Feb 2003
    Location
    Hillsdale, New Jersey, USA
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unwanted Paragraphs in forms (XP2002 SP3)

    The enclosed example has forms protected without a password. If I enter 2008 in the one field on the form and hit return, I get paragraph marks that extend the height of the entire table. When I save the form, it reverts to the correct size. Can I prevent the entry of those paragraph marks, so that they don't confuse the user?

    Thanks!
    Attached Files Attached Files

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

    Re: Unwanted Paragraphs in forms (XP2002 SP3)

    If I enter 2008 and press Enter, I get a normal-sized paragraph mark. See screenshot. I'm using Word 2002 SP3 too.
    Does the problem persist after quitting and restarting Word? After restarting Windows?
    Attached Images Attached Images
    • File Type: png x.png (692 Bytes, 0 views)

  3. #3
    Star Lounger
    Join Date
    Feb 2003
    Location
    Hillsdale, New Jersey, USA
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Unwanted Paragraphs in forms (XP2002 SP3)

    Thanks so much for the rapid reply!

    You have duplicated my problem. If by "persist" you mean does it happen again if I quit and restart Word and/or Windows, the answer is yes. I even duplicated the problem using Word 2003 SP3 on a different computer. Remember, I said that the paragraph marks go away when you save the document, but they are confusing to a form user when filling out the form.

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

    Re: Unwanted Paragraphs in forms (XP2002 SP3)

    You can discourage the use of Enter by setting the height of the table row to an exact number that fits one line, so that a second line in the form field is not visible.

    If you really want to prevent the user from entering new lines in a form field, you need rather complicated VBA code: see How to code the ENTER key to move between form fields in a protected form in Word.

  5. #5
    Star Lounger
    Join Date
    Feb 2003
    Location
    Hillsdale, New Jersey, USA
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Unwanted Paragraphs in forms (XP2002 SP3)

    I just figured that out on my own. The problem is that I'd like to set the row heights to what they are now and I find it very hard to read them in the vertical ruler using the Alt key.

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

    Re: Unwanted Paragraphs in forms (XP2002 SP3)

    You'll have to experiment.

Posting Permissions

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