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
SasszzSasszz 

picklist updation

Picklist field- Type_Of_Bedroom__c
its values are 1bhk(30 unit),2bhk (30 unit),3bhk (20 unit)
if a user select 1bhk and if he saves the record, the picklist value should be changed as 1bhk(29 unit) is that possible ?
Bavadharani GanesanBavadharani Ganesan
Hi Sasszz,

Let me confirm your requirement:

The picklist field name is Type_Of_Bedroom__c
It has only 3 values.
1bhk(30 unit)
2bhk (30 unit)
3bhk (20 unit)
if a user select 1bhk(first option) and if he saves the record, the picklist value should be changed as 1bhk(29 unit) 
So, 1bhk(29 unit) is not present in the picklist value.

Answer: You can achieve this by using Triggers. Did you got it?