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

Depenedent Picklist with onchange --for Rendering another PageBlockSection
Hello All,
I have 2 PickList Fields. Type[aa,bb,cc] and Category(a,b,c,d)
Below is the Dependency.
aa-a
bb-a,b,c
cc-b,c,d
In VisualForce page i have used <apex:inputField> for both fields.
for Category i have a Actionsupport to render the another Pageblocksections for each value in category different PBs
Here my Problem is
if i select Type='aa' automatically Category comes as 'a'(because it has only one dependent value). So for this Category 'a' related PageBlock section is not rendering.(only one dependent value not adding --None--)
for other categories its coming and perfectly because --None-- is adding if we have more dependent values.
Can you please help me with this.
I have 2 PickList Fields. Type[aa,bb,cc] and Category(a,b,c,d)
Below is the Dependency.
aa-a
bb-a,b,c
cc-b,c,d
In VisualForce page i have used <apex:inputField> for both fields.
for Category i have a Actionsupport to render the another Pageblocksections for each value in category different PBs
Here my Problem is
if i select Type='aa' automatically Category comes as 'a'(because it has only one dependent value). So for this Category 'a' related PageBlock section is not rendering.(only one dependent value not adding --None--)
for other categories its coming and perfectly because --None-- is adding if we have more dependent values.
Can you please help me with this.
I have tried your scenario in my org and it's working. I am not sure what you made mistake. Can you post your code to solve your problem.