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
jagjitsingh@indivar.comjagjitsingh@indivar.com 

Visibility

Hi

 

   I have 2 fields in customised object . Dropdown & TextBox . I want that if there is value "ABC"  then textbox should be visible , else textbox should not be visible in a form . How can i put this condition in Salesforce.

 

Thanks

pankaj.raijadepankaj.raijade

I think the scenario you are looking for is not possible using standard page layout.

 

But you can achieve same using Visual force page.

 

Regards,

Pankaj Raijade

jagjitsingh@indivar.comjagjitsingh@indivar.com

Hi

 

Can u give some example

 

Thanks

pankaj.raijadepankaj.raijade

you can create a VF page, define an apex class as controller.

 

in controller you can do the calculation for the field value and  based on that  you can render field.

 

Regards,

Pankaj Raijade.

jagjitsingh@indivar.comjagjitsingh@indivar.com

Hi Pankaj

 

   I may not have explained properly . See i have created Web to Customised Object form . User enters data on the web & it is stored in Customised Object in Salesforce.  In customised object i have 1 picklist & textbox . I want textbox should be visible only when there is particular value in picklist say 'ABC' , This i am talking at that time if user wants to view information in Salesforce.

 

Thanks

pankaj.raijadepankaj.raijade

I am also talking about viewing record in salesforce.

Your requirement is not possible using any configuration or standard functionality.

You will need VF page.

 

Regards,

Pankaj Raijade

jagjitsingh@indivar.comjagjitsingh@indivar.com

Hi Pankaj

 

Can u send me some example with Visual Force as you are saying , then i may be able to understand.

 

Thanks

pankaj.raijadepankaj.raijade

I dont have any page that can fit your requirement.

 

but I will see if I can get some thing similler,