insert form wizard: how to concatenate two fields into one?
Posted: 2011-03-08 12:12
Hi all,
I have an insert form on a page and I have two fields that allow the user to enter a number (set as varchar in the db) and a decimal (set as varchar in the db).
I need to concatenate those two fields into one in the "number,decimal" format; then, I need to insert this field in his db field.
Is there a way to do this with ADDT?
Or, is there a way toworkaround this problem in another way? basically I need to force the user to enter the number with 2 decimals.
examples:
these are values that will be accepted:
100,20
12,50
3,50
1000,50
thesen are values that will not be accepted:
100,2
12,5
3
1000
Is there a solution?
TIA
antonio
I have an insert form on a page and I have two fields that allow the user to enter a number (set as varchar in the db) and a decimal (set as varchar in the db).
I need to concatenate those two fields into one in the "number,decimal" format; then, I need to insert this field in his db field.
Is there a way to do this with ADDT?
Or, is there a way toworkaround this problem in another way? basically I need to force the user to enter the number with 2 decimals.
examples:
these are values that will be accepted:
100,20
12,50
3,50
1000,50
thesen are values that will not be accepted:
100,2
12,5
3
1000
Is there a solution?
TIA
antonio