EZ Forms questions

J

jbkayak

When you set a text form field's maximum length (for
example to 15) and lock the form...you can only type 15
characters, perfect!! THen comes my problem, the user
can hit enter, the max length set at 15, and word
performs a hard carriage return (inserts a line and
MIS-alligns remaining 4 page form.)

PLEASE HELP!!! Ive tried tables to no avail....Is there
a macro that can DISABLE the return button in LOCKED
DOCUMENTS!!!

An on going problem for me....I upgraded to 2003 SP1
hoping it would magically fix...still need HELP

THanks

JB
 
G

Graham Mayor

Put the field in a borderless table cell of fixed dimensions and when the
user presses enter (which cannot be disabled) the layout will not grow and
it will be obvious to the user that there is something amiss. You may find
it useful to use a message box popped up from a macro run on entry to the
first field warning the users to use TAB to move between fields.

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
S

Suzanne S. Barnhill

Although you can program the Enter key to behave like Tab, moving the user
to the next field(see "WD: How to Code ENTER Key to Move to Next Field in
Form" at http://support.microsoft.com?kbid=211219), the usual solution is
just to put the form field in a table cell with Exact row height. This
doesn't prevent users from pressing Enter, but most will have sense enough
to know something is wrong when their text disappears.
 
Top