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
ANJALIRAJIANJALIRAJI 

Regarding output label

Hi,

I am using a picklist value in the input field based on its values some fields are hidden .

The code is working fine.But the problem is with the design.

The Code is:

Output Label = Incident Type

filed name(picklist)=Incident_Type__c

object name=Incident_Record__c

 

<apex:outputLabel value="Incident Type" for="incident"  />
<apex:actionRegion >
<apex:inputField value="{!Incident_Record__c.Incident_Type__c}" style=""  required="true" id="incident" >
<apex:actionsupport event="onchange" rerender="sec1"/>
</apex:inputfield>
</apex:actionRegion>

 

the output is like:

 

Here Between the label and picklist there is a huge space.How to remove these space?

 

 

anuraj123anuraj123

Use pagelayout, it will giv you what you want.

ANJALIRAJIANJALIRAJI

But,based on this picklist values i need to hide some text fields.