Issue 88595 - XForms: Force max. Length from binding
Summary: XForms: Force max. Length from binding
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.4.0
Hardware: PC All
: P3 Minor with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2008-04-22 14:53 UTC by oisin_
Modified: 2014-03-05 12:49 UTC (History)
2 users (show)

See Also:
Latest Confirmation in: 4.1.0-dev
Developer Difficulty: ---

Sample xform with too long field contents (8.31 KB, application/vnd.oasis.opendocument.text)
2008-04-22 14:55 UTC, oisin_
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description oisin_ 2008-04-22 14:53:42 UTC
In my XML form text field I have a xml data binding with type string and max 
length set. During form filling this max length is not enforced. The text field 
gets a red marking and moving the mouse over this field informs me about the 
max length but it is not prevented to enter more than 10 characters.

In a normal writer documents text fields the max length can be set in the 
controls properties and this enforced during form filling using a message box 
and trimming off excessive characters.

I'd like this enforcement (maybe optional) aswell in xml forms.
Comment 1 oisin_ 2008-04-22 14:55:40 UTC
Created attachment 53115 [details]
Sample xform with too long field contents
Comment 2 eric.savary 2008-04-22 15:09:59 UTC
Reassigned to MRU
Comment 3 eric.savary 2008-04-22 15:10:26 UTC
Reassigned to MSC
Comment 4 Edwin Sharp 2014-03-05 12:49:23 UTC
Confirmed with
AOO410m14(Build:9760)  -  Rev. 1573062
2014-03-01_04:11:01 - Rev. 1573123