PDA

View Full Version : komma in textarea is changed to carriage return


chri
12-19-03, 04:06 AM
hi together!

i have a problem - im developing lotusnotes-application for the web, which is already a problem *gg*!

so i'm using an textarea with the following code:

<textarea name="Beschreibung" rows=5 cols=50 class="textfieldlength318_13px" wysiwig = "true">Test 001 mit Kommaeintrag:
Betrag 0
002

</textarea>!

now the problem:

the user tipped in originally an amount of 0,002 in the textarea - after I saved the documend once, the data has been changed from the , to an carriage returne!

Does anybody have an idea who do handle this?

thanx in advance & greetings!

chri

binary_w0lf
12-20-03, 05:37 PM
carriage returne

What do you mean by that?

chri
12-22-03, 03:51 AM
I mean, that after the user tipped in an ',' as part of the text, the data are devided like the following example:

user data at the beginning

130,45

which is an amount!

Then after the data have been saved once they are changed to

130
45.

So the ',' is removed and has been changed to a carriage return or new line!

thanxx for your answer,

chri