You need to sign in to do that
Don't have an account?

Make a picklist Mandatory based on another picklist value selected in VF page
I have 2 picklist values in a custom VF page. Finance__c and Type__c. If i select a value in Finance the Type__c picklist should become mandatory field. If i select the other value in Finance the Type__c picklist value should not be mandatory field. How can we achieve this using VF page.? Can anyone help me with this?


Thanks for the reply. But can we make red borders for these mandatory fields like this. Because in validation rule we cant make this red border.