Results 1 to 8 of 8
  1. #1
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    England
    Posts
    569
    Thanks
    0
    Thanked 0 Times in 0 Posts

    No Carriage Returns in Form Fields... (Office2000 SR1)

    Hi,

    When creating a form, I made a field for some numeric input.
    I want to restrict it, so user can only enter data in fields & cannot press Enter anywhere.

    How can I enforce this rigid setup?

    Thanks,

    m.q.

  2. #2
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,048
    Thanks
    124
    Thanked 119 Times in 116 Posts

    Re: No Carriage Returns in Form Fields... (Office2000 SR1)

    I expect that you are talking about an online form. Follow the links at<A target="_blank" HREF=http://www.addbalance.com/word/wordwebresources.htm#Forms> Web Resources: Forms</A> (addbalance.com/word/wordwebresources.htm#Forms) for information on these (in addition to that available under help).

    As to not allowing the Enter key to insert a paragraph mark but rather act like the tab key, follow the link above to the MS Knowledgebase article on the subject.
    Charles Kyle Kenyon
    Madison, Wisconsin

  3. #3
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    England
    Posts
    569
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: No Carriage Returns in Form Fields... (Office2000 SR1)

    No sorry, I am referring to normal Word Forms.
    Not on-line forms.
    Pls. advise me on controlling the form field - i.e. the grey cell with little circles in it (non printing chars.)

    Thanks,

    m.q.

  4. #4
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,048
    Thanks
    124
    Thanked 119 Times in 116 Posts

    Re: No Carriage Returns in Form Fields... (Office2000 SR1)

    Yes,

    This is confusion built into Word by their calling it an online form. An online form is one that is designed to be filled in by typing on the computer (although they can be designed to print as well). They bear little relationship to a web form or a form to be used over the Internet.

    You are trying to use an online form. They are created using the Forms toolbar in Word. For any fields inserted with this toolbar to work properly, the form must locked or "protected."

    Look in help under "online form" and follow the links at <A target="_blank" HREF=http://www.addbalance.com/word/wordwebresources.htm#Forms> Web Resources: Forms</A> (addbalance.com/word/wordwebresources.htm#Forms) and your questions will be answered.

    Download the samples and play with them.
    Charles Kyle Kenyon
    Madison, Wisconsin

  5. #5
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    England
    Posts
    569
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: No Carriage Returns in Form Fields... (Office2000 SR1)

    Thanks for clarifying that Charles.

    Actually my problem is that my Form is protected, but still I am able to insert CR's into the field. Even though it's length is restricted.

    I placed a 512kb Lotus ScreenCam file on the URL :

    http://www.geocities.com/musabqureshi

    which shows my problem visually.

    I am trying to prevent this so the user MUST fill the cell on 1 line.

    Thanks,

    m.q.

    p.s. the lotus screencam player can also be downloaded from that webpage.

  6. #6
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: No Carriage Returns in Form Fields... (Office2000 SR1)

    One solution (probably not entirely satisfactory) is to have a macro attached to the "on exit" for each form field, whic removes Carriage returns on the form field just exited- and perhaps to display a message if any were removed.
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

  7. #7
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,048
    Thanks
    124
    Thanked 119 Times in 116 Posts

    Re: No Carriage Returns in Form Fields... (Office2000 SR1)

    Follow the links at <A target="_blank" HREF=http://www.addbalance.com/word/wordwebresources.htm#Forms> Web Resources: Forms</A> (addbalance.com/word/wordwebresources.htm#Forms) and your questions will be answered.

    This includes the link to the knowledge base article that tells you how to make it so that pressing the Enter key will not add a line but instead will just jump to the next field.
    Charles Kyle Kenyon
    Madison, Wisconsin

  8. #8
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: No Carriage Returns in Form Fields... (Office2000 SR1)

    Or else go directly to the <A target="_blank" HREF=http://support.microsoft.com/support/kb/articles/Q187/9/85.ASP>KB article</A>

    Thanks Charles, a good link.
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

Posting Permissions

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