Hard Returns MS Word Template Form

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

Guest

I'm using MS XP and Word97. How do I stop anyone from entering a hard return
in my form? For example: If I have the following in the form (example),

Last Name: <text form field> First Name: <text form field>

If the curser is in the <text form field> and I press "Enter" the entire
line from the right of that will drop down to the next line.

Last Name: <text form field> First Name: <text form field>

<text form field> First Name: <text form field>

Also, if the <text form field> is let's say 10 characters. As I type in the
<text form field> for the entire 10 characters, the next field to the right
starts moving to the right.

Example: Last Name: <text form field> First Name: <text form field>

If I start typing in last name, the first name fiels starts moving to the
right by the number of characters I typed into the last name field.

Last Name: <aaaaaaaaaa> First Name: <text
form field>

Thanks.\John
 
Restrict the amount of space available by inserting the field in a
(borderless) table cell of fixed dimensions. It won't stop the users
pressing the enter key, but if they do the extra lines will not be visible.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Graham:

Thanks. Your suggestion worked for fixing field lengths. Although the
lines are not visable the form adds a line when "Enter" is pressed. Is there
anyway to supress the blank line?

John
 
If you set the row height of the cell that contains the field to exactly
accommodate the line height you will not get a blank line.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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