Microsoft Word Form Fields

J

JMC

I have created a form in word and limited the number of characters allowed in
each field. This works perfectly unless the user presses enter while typing.
As the form should not grow in size the text is then out of sight. I need
to prevent users pressing enter in a form field. Is there some way to set it
so that the carriage return does not work?
 
J

Jay Freedman

JMC said:
I have created a form in word and limited the number of characters
allowed in each field. This works perfectly unless the user presses
enter while typing. As the form should not grow in size the text is
then out of sight. I need to prevent users pressing enter in a form
field. Is there some way to set it so that the carriage return does
not work?

No, there isn't.

But you can place the form field inside a table cell, and set the table's
row height to an exact measurement (in the Table > Table Properties > Row
dialog). If the user presses Enter, the cursor disappears below the bottom
of the table cell. Most (but not all) users are smart enough to stop typing
at that point.

Note that any such "invisible" typing really is still in the form field. If
you're using macro code to retrieve the user's entries, the extra text will
be there (maybe not what you want).

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
J

JMC

I have already done this. I know the data is still being typed in but this
completed form will be sent to someone who then needs to print it out so any
text that the user didn't notice was out of sight will in fact be missing on
the print out.
 

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

Top