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

Picklist selected value NULL
I have two picklist in custom object and a checkbox
Posters__c
5
10
25
50
Brochures__c
50
100
150
200
isPoster__c ( this is trrue show poster picklist)
Here are my two code lines
Poster__c selected value is working
I have this custom object in a wrapper class. On the visualforce page I see correct display of picklist based on the "isPoster__c" flag. But in the controller when I check selected value Posters__c is correct. But Brochures__c is always null.
Any tips on how I can solved this problem?
Posters__c
5
10
25
50
Brochures__c
50
100
150
200
isPoster__c ( this is trrue show poster picklist)
Here are my two code lines
<apex:inputField value="{!v.brform.Brochures__c}" rendered="{!(!v.brform.IsPoster__c)}"/> <apex:inputField value="{!v.brform.Posters__c}" rendered="{!(v.brform.IsPoster__c)}"/>Problem: selected value of Brochures__c is always null
Poster__c selected value is working
I have this custom object in a wrapper class. On the visualforce page I see correct display of picklist based on the "isPoster__c" flag. But in the controller when I check selected value Posters__c is correct. But Brochures__c is always null.
Any tips on how I can solved this problem?
Fields: IsPoster (Boolean) BR_Posters__C (picklist) BR_Brochures__c(Picklist) BR_Lang_English__c (checkbox) BR_Lang_Russian__c(checkbox)
partial class code:
page code:
I have list of Lists of another wrapper class " public list<list<brExtData>>" List of above wrapper class "public List <brochuresForm> brformLst" is part of the list of Lists