You need to sign in to do that
Don't have an account?
Deepak Chouhan
visualforce
Hi,
I have create a picklist and fieldset. i want to control fieldset by picklist without page reload when i will change the picklist value fieldset must be change.
pls help me out
I have create a picklist and fieldset. i want to control fieldset by picklist without page reload when i will change the picklist value fieldset must be change.
pls help me out
Thanks for Reply
I have done this above part. but it's not working in my page.
<apex:repeat value="{!productType}" var="pv"> //picklist
<input type="button" value="{!pv}"/>
</apex:repeat>
<apex:repeat value="{!$ObjectType.Product__c.FieldSets.Product_Section1}" var="p" rendered="{!productType=='Mobile'}" >
<div class="radio-block" >
<apex:inputfield value="{!new_pro[p]}"/>
<span class="lbl">{!p.label}</span>
</div>
</apex:repeat>
<apex:repeat value="{!$ObjectType.Product__c.FieldSets.Product_Section2}" var="p" rendered="{!productType=='Watch'}" >
<div class="radio-block" >
<apex:inputfield value="{!new_pro[p]}"/>
<span class="lbl">{!p.label}</span>
</div>
</apex:repeat>
Actually we have crated product object which have contain soo many fields with picklist or multipick list and so on and we have created some fieldset based criteria we want to show on picklist value. but picklist show in button format and checkbox which have controlling some other field. so i want to controlle fieldset on picklist values but picklist show in button format.