SALESFORCE Visual Force

How to display the help text on Visualforce Page?

How to display the help text on Visualforce Page? when we using the apex:inputField and apex:outputField shows their help Text bubble when nested within a pageBlockSection component automatically like: <apex:pageBlock> <apex:pageBlockSection> <apex:pageBlockSectionItem helptext=”{!$ObjectType.Account.Fields.Phone.InlineHelpText}”> <apex:outputLabel value=”{!$ObjectType.Account.Fields.Phone.Label}” /> <apex:inputField value=”{!Account.Phone}” /> </apex:pageBlockSectionItem>…

Read More
SALESFORCE Salesforce Certification Salesforce Interview Questions Salesforce.com Visual Force Visualforce

Date and Number Format using Visualforce Page

Date and Number Format using Visualforce Page <apex:page title="Date and Number Formatting in Visualforce Page"> <style> .tableContent { border: 1px solid green; font: 12px, Verdana; } .tableHeader { background-color: green; font: 16px, Verdana; color: white; } .bold { font-weight: bold;…

Read More
APEX SALESFORCE Visual Force Visualforce

Adding Error Message in the Visualforce page through Apex controller

Adding Error Message in the Visualforce page through Apex controller Syntax : <apex:pageMessages ></apex:pageMessages> Apex Controller: public class ErrorMsgController { public void DisplayError(){ Apexpages.addMessage( new ApexPages.Message (ApexPages.Severity.ERROR, ‘Required fields are missing. ‘)); //FATAL, WARNING, INFO, CONFIRM } } VF Page:…

Read More