Editing the Fill-in form field

J

John

I am using Microsoft Office Word 2007
File version: 12.0.6504.5000

I am working on cratig a form that can be filled out in an email message. I
want to create a fill-in field that will display the phone number as shown
below:
(125) 124-1258. When the person enters the number they'd enter it as
1251241258. This means that the fill-in field should automaticly update
itself after the user clicks after typing in the number in the promt dialog
box. How can I make this happen?
 
S

Stefan Blom

You had better ask this in a programming newsgroup such as
microsoft.public.word.vba.general.
 
D

Doug Robbins - Word MVP

To do this with a FILLIN field use the following field construction

{ = { FILLIN "Enter the Phone Number" } \# "(###) ###'-'####" }

You must use Ctrl+F9 to insert each pair of Field Delimiters { } and you
use Alt+F9 to toggle off their display.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
G

Graham Mayor

It would also work with a quote field
{ Quote { FILLIN "Enter the Phone Number" } \# "(###) ###'-'####" }
but should work with the switch inside the fillin field alone
{ FILLIN "Enter the Phone Number" \# "(###) ###'-'####" }

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
J

John

I tried to copy & paste the code you provided into the FillIN field code area
but I kept getting "syntex error {}" in the grey field area. Why is this
happening?
 
J

John

Can you please tell me what to do step-by-step. I tried to copy & paste the
code into the code area but all I got was "Syntex error {}" What am I doing
wrong?
 
J

John

I'm not that skilled to understand programming stuff too well. I was hoping
to find some step-by-step instructions on how to do this or maybe even a
template that I could download that has this type of fill in field set up
already so I could just copy it over to my current form.
 
G

Graham Mayor

You cannot paste fields from a text editor such as this. The field
boundaries {} must be inserted with CTRL+F9 hence the error message. You can
either select the relevant parts then press CTRL+F9 then delete the text
brackets {} or type the lot using CTRL+F9 for each bracket pair.

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
D

Doug Robbins - Word MVP

As I said, you must use Ctrl+F9 to insert each pair of Field Delimiters { }
and you
use Alt+F9 to toggle off their display.


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.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

Top