Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
5.x-1.9
Component:
number.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2008 at 11:13 UTC
Updated:
27 Sep 2008 at 17:03 UTC
hello,
i am using the newest version of cck for drupal 5. i created a decimal text field. when trying to make an input like 2,5 the comma is not accepted, not 2,5 or 2.5 is saved in the database, just 25!
when typing 2.5 into the inputfield, 2.5 is saved to the database.
is there a possibilty to make the comma work in the input field?
thank you a in advance.
regards.
florian
Comments
Comment #1
yched commentedThis has been fixed in D6, that offers a setting for the decimal separator.
CCKD5 is basically feature frozen, so unless someone provides a clean patch, this will not be backported.
Comment #2
wflorian commentedthere is no chance, that i will update to D6. the whole system is already built up on D5.
please is there anybody who could provide a patch for the D5 version? i would really appreciate your help..
Comment #3
wflorian commentedSolved by using the following patch: http://drupal.org/node/118364
It also worked with the D5 version of cck.
Comment #4
yched commentedComment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.