Customising text form field.

  • Thread starter Thread starter Charles
  • Start date Start date
C

Charles

Hello,

I am trying to create a template e-mail through word that I will use to send
accounting information to one of my suppliers. I have created text form
fields so as to protect the rest of the documents formatting. I have set
the options in the form fields to the desired length and type. I have two
problems:

1.) I want the form fields to always start at the same left indent when I
hit enter and want to enter a new line in the same field. I have tried
setting the indent for both the starting line of the form field and the
following line but whenever I hit enter it starts the new line at the far
left of the page. Tabs don't even work!

2.) I want the date field to add the '/' for me; so I can enter 15012004,
and word will convert it to 15/01/2004.

Can anyone help me with any of these?

Thanks in advance.
 
1. You could put your form field in a table cell (it can be borderless), but
it should suffice to apply the indent to the paragraph the form field is
sitting in.

2. You need to apply a mask to your number. Format it as "number" rather
than "date," and use 0#/0#/#### as the number format. The zeroes will force
a zero even if one isn't entered. What the number format won't do is force
2004 if someone enters 04--I'm not sure how you would do that.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Thanks Suzanne.

I had worked out the table bit already just by messing around. I had to use
one because the of the way the thing is laid out:

Name: xxxxxx
Title: xxxxxx

That ##/##/#### did sort out the date for me - shotalot! One last thing.
Is there any way of getting it to not allow "enter/return" to start a new
line; so a text field is max one line long?

Thanks,

Charles
 
Suzanne S. Barnhill said:
1. You could put your form field in a table cell (it can be borderless), but
it should suffice to apply the indent to the paragraph the form field is
sitting in.

2. You need to apply a mask to your number. Format it as "number" rather
than "date," and use 0#/0#/#### as the number format. The zeroes will force
a zero even if one isn't entered. What the number format won't do is force
2004 if someone enters 04--I'm not sure how you would do that.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Back
Top