function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vasu takasivasu takasi 

How to add a measures to number field(Example :- Kg.5 )

hi

i have a number field called "Quantity".

if i enter 55 , After saving the record, the quantity should be appeared as "  Kg.55 ".

 "like currecy field"

please help me.............

 

Thanks.

 

 

NIKHIL_SFDCNIKHIL_SFDC

Hi Vasu,

 

I want to remind you one thing here that we can not enter any Text value in Number field.

You can create it as Text field and put Default Value as "Kg."

It always show Kg. in text field while creating new records.

 

Thanks

Nikhil

 

vasu takasivasu takasi

i mean that , the field should like as currency field.

NIKHIL_SFDCNIKHIL_SFDC

sorry Vasu it is not possible with any number field OR any currency field because both don't allow any text value.

You have to create Text field or formula field for this.

 

Thanks,

Nikhil

Andy BoettcherAndy Boettcher

You can do this via a Visualforce solution - it's a little tricky but doable.

 

Don't know if you'd really want to take that on vs. renaming the field label to "xxxx (kg)" instead.  =)

 

-Andy