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
imishraimishra 

Urgent-Field update

Hi,

 

I have to update the rating field in Leads object based on 5 checkboxes(1,2,3,4,5).

When 1 is selected, it should be "Cold".

When either 2 or 3 or both including 1 is selected it should be "Warm".

When either 4 or 5 or both selected or all are selected it should be "Hot".

 

Can anyone tell me how to implement this.

 

Thanks in Advance.

RajaramRajaram

You have to create 5 choices with the "Stored Value" according to your needs. In your case here are the choices you need to define:

1 - Cold

2 - Warm

3 - Warm

4 - Hot

5 - Hot

 

Once you do this, when you use the screen choice assocaited with these choices, the "Stored Value" is what will be used when storing the data.

 

So, make sure the "Stored Value" field of your choices is set to some thing not null.

 

 

imishraimishra

Thanks for your reply.

Can you please tell me how to do this. I have never used stored value before.

 

afoxmicroedgeafoxmicroedge

Something like this...