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
Subhashini UppalapatiSubhashini Uppalapati 

Hello, I have a similar requirement. For example, if the picklist value selected is 'Email&Phone', then it should display two input text boxes: one should have input label as "Email" and the other should have "Phone".

Madhukar_HeptarcMadhukar_Heptarc
Dear Subhashini Uppalapati,
I understand the requirement, For  this you use visualforce wizard concept. 
Visual wizard will gives the page by page navigation

Reference link : https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_quick_start_wizard.htm
Create class : Communitypost_Class 

public class Communitypost_Class {
    Product_Development__c a=new Product_Development__c();
    Public Product_Development__c geta(){
        return a;
    }
    Public pageReference W2(){
        insert a;
        return page.community_VF_Check;
    }
} 
 
===========================================
 VF Page1 : Community_Check 

<apex:page Controller="Communitypost_Class" sidebar="false" showHeader="false" setup="false">
 <apex:sectionHeader title="New Registration" subtitle="Patient"/>
 <apex:form >
 <apex:pageblock >
 <apex:pageblockButtons >
 <apex:commandButton value="Submit" action="{!W2}"/>
 </apex:pageblockButtons>
 <apex:pageblockSection title="Registration Page">
 <apex:inputField value="{!a.name}"/><br/>
 <apex:inputField value="{!a.Mobile_Number__c}"/><br/>
 <apex:inputField value="{!a.Email_id__c}"/><br/>
 <apex:inputField value="{!a.SourceOfContact__c}"/><br/>
 </apex:pageblockSection>
 </apex:pageblock>
 </apex:form>
</apex:page>
======================================================
VF Page  : Community_VF_Check

<apex:page controller="Communitypost_Class" sidebar="false" showHeader="false" setup="false">
<apex:form >
 thank You For Registration...
 <apex:pageblock >
 <apex:pageblockSection >
 <apex:inlineEditSupport >
 <apex:outputField value="{!a.Name}"/>
 <apex:outputField value="{!a.Mobile_Number__c}"/>
 <apex:outputField value="{!a.Email_id__c}"/>
 <apex:outputField value="{!a.SourceOfContact__c}"/>
 </apex:inlineeditSupport>
 </apex:pageblockSection>
 </apex:pageblock>
 </apex:form>
</apex:page>
Try the above code it may helps you.