You need to sign in to do that
Don't have an account?
Mit Patel
Need Dependency for Text Box Based on Pick-list
I'm trying to make it so a field appears only when another field is answered a certain way.
For example:
I have a picklist that the user will choose "Yes / No". Field name "Pan card "
If they choose Yes, then I want a text field to appear so they can provide Pan card Number.
If they choose No, then I don't want the field to appear.
Please Let Me Know either of possibilities (Configuration / Development).
Either Through VF,APex, or Customization.
Please let me know if this is possible, and how I would go about doing this. Thanks!
Hi Patel,
This is not possible in salesforce, you can put a validation rule like no one can field data in 'Pan card Number' without choosing Yes in "Pan card".
Validation Rule would be like-
AND(IF( ISPICKVAL( Pan_card__c , 'Yes' ) , ISBLANK( Pan_card_Number__c )=true, null ))
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved, so that others may take help from this.
Patel, Are you trying to achieve your requirement via standard page or visualforce page?
If it is standard page Nikhil's approach is correct. You can achieve your requirement via visualforce page too.
Visualfroce example
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.