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

yched’s picture

This 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.

wflorian’s picture

there 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..

wflorian’s picture

Solved by using the following patch: http://drupal.org/node/118364

It also worked with the D5 version of cck.

yched’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.