You need to sign in to do that
Don't have an account?
anju
How to create field dependency between picklist and number/text field?
I have a picklist having values A and B (this field is sforce field. Not an scontrol field.)
While selecting value "A" I need to display a field(will be number or text field).
And while selecting value "B" I need to hide that field.
Any way to do it?
Thanks
hai
According to my knowledge there is no picklist dependency in salesforce only field dependency is there
if u get any information pls send me the reply.
Regards
madhu
As per my understanding we can apply validation rule to the number/text field to make it dependent.
But by using validation we can't able to make the number field as visible/invisible. But we can stop user from entering value to number field.
If any body knows any idea other than this then plz let me know.
Hi Anju,
Well you can very well do it. Use s-control to do that.
Thanks & Regards
Suchitra
yeah Suchitra. We can do it using Scontrol. But for that I need to build Scontrol for whole page and I need to override new/edit button also.
But I don't want to build Scontrol for whole page. And I don't want to override standard buttons.
Picklist and Number fields are sforce fields. If we can use scontrol to create its dependency(without creating whole page in scontrol) then how we can do it? How I will call that scontrol?
AND
( NOT ( ISNULL( number_field_name ) ), NOT ( ISPICKVAL( picklist_field_name , "A")) )
//this is for text field
AND
(NOT ( ISPICKVAL(picklist_field_name , "A")), NOT(TRIM( text_field_name ) ="") )