Unit in a Form field

Hallo

It is possible, for example the unit “cm”, show in a field?

Best Regards

Kai Sch?fers

where in a field? Actually in the field?

Cheap alternative is to change the label of the field. So if the field label is “length”, change the label to be “length (cm)” :slight_smile:

Put this in the onLoad event of the form.

sc_format_num({your_field}, ‘.’, ‘,’, ‘2’, ‘S’, ‘1’, ’ cm’,2);

For a grid you can just set the field to currency and select ‘No’ for regional settings and ‘Yes’ for currency symbol.
Now you are able to adjust the formatting to your liking.

jsb

Thanks that sounds fine.

I will try it.