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
swathiswathi 

Flow

Hi All,

 

I have create a flow and embeded in the visualforce page. I have created an outputpanel with some picklist values in the same visualforce page. I am rendering the outputpanel when formid is not null. As soon as the formid created ie., not null the outputpanel is tracking to all the flow pages from that point. How can I display the outpupanel only in one particular flow page it should not track to another pages. Please help me out it very urgent.

 

This is my code:

<flow:interview name="flow_test" interview="{!myflow}"   buttonStyle="btn" >

              
 </flow:interview>
 <apex:form >
 <apex:outputpanel rendered="{!(FormId!=null)}" >
 <b>  Category Selection 1 </b> <apex:inputField value="{!f.Level_1__c}"/><br/>
<b>Category Selection 2 </b> <apex:inputfield value="{!f.Level_2__c}">
</apex:inputfield><br/>
<b> Category Selection 3</b>  <apex:inputfield value="{!f.Level_3__c}">
</apex:inputfield>
 </apex:outputpanel>
</apex:form>

 

 

public class flowctrl{
public Flow.Interview.flow_test myflow {get;set;}
public string FormId;
public string cid;
public form__c f{get;set;}
public String getFormId() {
        if(myflow!=null)
                formId=myflow.va_emailid;
            return FormId;
    }
   
    }