This topic is locked

Connvert Number to Text

3/9/2009 6:29:11 PM
ASPRunnerPro General questions
U
uros author

Dear,
I would like to validate input field on add or edit as a number, but then it shuld be saved as a text. This is not a problem, the problem is, because i would like to change decimal "," to "." Here is an example:

Input field: 123,00

and this field shuld be saved as: 123.00
Any sugestion?
or
An alternative solution is also if I could change "," to "." at export. In fact I need this format of number (with the dot) only because of the export to external file CSV
Best regards

Uroš

Sergey Kornilov admin 3/10/2009

Uroš,
I believe you can BeforeAdd/BeforeEdit events to perform validation and adjust input values if required.