Problem with RETURN in forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I created a form restricting the number or characters in a field, locked the
form and saved as a tempate. It works ok, users can tab from field to field
and can't exceed the field length or change text within the form. But if
they press RETURN at any character position within a field a CR/LF is added
to the form completely screwing up the formatting.
How can this be prevented?
 
One post is enough.

What you are talking about is what Word calls an "online form." For more
about online forms, follow the links at
http://addbalance.com/word/wordwebresources.htm#Forms or
http://word.mvps.org/FAQs/Customization/FillinTheBlanks.htm especially Dian
Chapman's series of articles. Among these links is one that shows you how to
change the way the Enter key works in your form so that it acts as a Tab
key. You can also put your form fields into limited size frames or table
cells so that if the user presses Enter they can keep typing but what they
type won't show up (or move other stuff around).

Hope this helps,
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top