To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=104374


User fs changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|dbaneedsconfirm           |er
--------------------------------------------------------------------------------
          Ever confirmed|                          |1
--------------------------------------------------------------------------------
                  Status|UNCONFIRMED               |NEW
--------------------------------------------------------------------------------
                 Summary|Formatted field control no|Formatted field control wi
                        |t insert numbers into fiel|th special user-defined nu
                        |d                         |mber format converts all i
                        |                          |nput to "0"
--------------------------------------------------------------------------------
        Target milestone|---                       |OOo Later
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Wed Sep  2 13:04:05 +0000 
2009 -------
okay, so this boils down to the FormattedField not recognizing any input, but
instead converting it to a mere 0.

fs->r4zoli: For the use case you perhaps have in mind, you might be better off
with the Pattern Field, instead of the Formatted Field. Not sure it works with
this special format, though - didn't try.

fs->er: For a format string "("000")"000"-"0000, an input such as
"(123)456-7890" is converted to a mere 0 by SvNumberFormatter::IsNumberFormat,
which I think is wrong. If it is wrong, then it should be fixed in the
formatter. Otherwise, I'd be grateful for any hints what other formatter API to
use to properly convert such user input into numbers.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to