function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Radio button click new field id created


               i want to created the field based upon radio button click, when i click in radio button new field will be created and that value i want to store in object can any-one suggest me
Hi Please Read this blog this might help .

Thanks ,
Hi , 

<apex:pageBlock id="tBlock"> 
   <apex:outputLabel value="Checkbox" for="theCheckbox" /> 
   <apex:inputCheckbox value="{!customObject.CheckBox__c}" id="theCheckbox"> 
      <apex:actionSupport event="onchange" rerender="tBlock"/> 
   <apex:outputLabel value="Enter Data Here" /> 
   <apex:inputText value="{!customObject.TextField__c}" disabled="false" rendered="{!(customObject.CheckBox__c == true)}"/> 
   <apex:inputText value="{!customObject.TextField__c}" disabled="true" rendered="{!(customObject.CheckBox__c != true)}"/> 
   <!-- If you only want a field to show up when you check the box See below --> 
   <apex:inputText value="{!customObject.TextField__c}" rendered="{!(customObject.CheckBox__c == true)}"/> 

Also see some more samples below,