You need to sign in to do that
Don't have an account?
@Sunny
Making Filed Required based on lookup selection in visualforce
Hi all,
I have one custom page in that i have one lookup field and one text filed .
I have one requirement if we select look up name as "ABC" then i want make the text filed required.
Thanks in advance
I have one custom page in that i have one lookup field and one text filed .
I have one requirement if we select look up name as "ABC" then i want make the text filed required.
Thanks in advance
You can write a validation rule.
If ( AND ( Lookup field = ABC ,Text Field = Blank ) )
Throw error.
Regards,
Ashish
All Answers
You can write a validation rule.
If ( AND ( Lookup field = ABC ,Text Field = Blank ) )
Throw error.
Regards,
Ashish