Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word Documents
v2007: Text control (plain text): How to restrict length of data?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="p0, post: 5460657"] There is an option which does exactly what you want, though it is a highly complex one. It is possible to map your content control to a piece of custom xml within your document. And it is possible to define an xml schema for that custom xml. In the schema you can define your xml elements as a string type with limitations in length (and allowed characters). If you assign that schema to your Word document, you can use it for validation. Then if someone would enter more than your given number of characters, a curly red line would appear under their input and they wouldn't be able to save the document. Right clicking the underlined part would even tell them what they did wrong. The problem is that by default, the mapping of content controls and custom xml is not entirely straightforward. You would probably need tools like [URL]http://www.codeplex.com/Wiki/View.aspx?ProjectName=dbe[/URL] On a side note, although rather complex, custom xml is actually the way to go as it would allow you to easily extract and manipulate the entered data afterwards. Yves [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word Documents
v2007: Text control (plain text): How to restrict length of data?
Top