[TYPO3-core] RFC: #10861: Eval of double2 doesn't work
Steffen Kamper
info at sk-typo3.de
Tue Apr 7 11:53:29 CEST 2009
Hi,
This is SVN patch request.
Type: Feature
Branches: trunk
BT reference: http://bugs.typo3.org/view.php?id=10861
Problem:
If a field has eval double2 it should be result in a double with
precision 2. This works for most values, but some not.
Example:
-1,75 => -1.75
12 => 12.00
but
-0,75 => 0.75
-,5 => 0.50
It's not possible to enter a value between -1 and 0
Solution:
simplify and correct validation in JS and PHP
I attached a test extension with input field eval double2
vg Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10861.diff
Type: text/x-diff
Size: 1574 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090407/ab77ed1b/attachment-0001.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: T3X_test_fields.t3x
Type: application/octet-stream
Size: 10184 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090407/ab77ed1b/attachment-0001.obj
More information about the TYPO3-team-core
mailing list