You need to sign in to do that
Don't have an account?
Alex Waddell 12
Hiding a Field Label
Hello,
I'm looking to hide the label titled "Note" infront of my Text box as circled below.
Here is my code for what i have so far.
<apex:page standardController="Notes_for_the_Day__c">
<style>.pbSubsection{
width: 400px;}</style>
<apex:form >
<apex:Pageblock Title="Notes on the Day">
<apex:pageBlockSection columns="1">
<apex:inputField Value="{!Notes_for_the_Day__c.Note__c}"
style="height:100px;width:400px;"/>
<apex:commandButton action="{!save}" value="save"/>
</apex:pageBlockSection>
</apex:Pageblock>
I'm looking to hide the label titled "Note" infront of my Text box as circled below.
Here is my code for what i have so far.
<apex:page standardController="Notes_for_the_Day__c">
<style>.pbSubsection{
width: 400px;}</style>
<apex:form >
<apex:Pageblock Title="Notes on the Day">
<apex:pageBlockSection columns="1">
<apex:inputField Value="{!Notes_for_the_Day__c.Note__c}"
style="height:100px;width:400px;"/>
<apex:commandButton action="{!save}" value="save"/>
</apex:pageBlockSection>
</apex:Pageblock>
try below code thanks
let me inform if it helps you and mark it best answer if it helps you so it make proper solution for others :)
All Answers
try below code thanks
let me inform if it helps you and mark it best answer if it helps you so it make proper solution for others :)
It worked Perfectly! Thank you.
is the trick found in the <Apex:outputlabel> section? why did that work?