Word2007 text form field

J

Jay Freedman

tedshred said:
I've built a form with text fields.

The problem is when the user cliks on the field, the default text
doesn't disappear.

MS's guidance page (
http://office.microsoft.com/en-us/word/HA100307461033.aspx ) tells
you to check off "Remove content control when contents are edited
check box. "

Guess what, it ain't there.....
Any suggestions? Ted

Are you using form fields in a protected form (from the Legacy Controls
gallery) or content controls? Content controls do have the check box you
mentioned; form fields don't.

If you are using content controls, then the check box doesn't do what you
want anyway. What it does is to remove the content control container,
leaving whatever text the user has typed into the control as plain text. The
default text doesn't disappear until the user starts editing, not just on
clicking in the control, regardless of the state of the check box.

If you're using protected form fields, well, that's just the way they've
always worked. If you tab into the field, the whole field content is
selected and is replaced as soon as you start to type. If you click into the
field, the selection is just the insertion point. To change that behavior,
you'll have to put the following macro in the form's template (see
http://www.gmayor.com/installing_macro.htm if needed), and make that the
entry macro of each field.

Sub EntrySelect()
Selection.Bookmarks(1).Range.Fields(1).Result.Select
End Sub


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

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