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
Ancil PAAncil PA 

show/hide fields based on a pick list selection in the new case screen without using visualforce page and apex class


I want to show/hide fields based on a pick list selection in the new case screen . If i select 'PIN Reset' from 'Action' pick list then it should show 'PIN' field and it must hide 'Password' field, Or if i select 'Password request' then it should show 'Password' field it must hide 'PIN' field.


Is there any way to achive this without using Visualforce page and Apex class ?


Please find the below screenshot.

User-added image
Ishwar ShindeIshwar Shinde
Salesforce not provide such functionality. Here are few ways you can try - 
  1. Move action to Case record type - Create record type as PIN Reset /Password Reset. On selection of record type display the fields by configuration page layout. 
  2. Display both fields and add validation rule 
  3. Create custom vf page