Friday, 27 January 2012

Making the field as required on visualforce page


<apex:outputPanel layout="block" styleClass="requiredInput">
                  <apex:outputPanel layout="block" styleClass="requiredBlock"/>
                   <apex:inputfield value="{!objWrapNew.objTime.Location__c}" required="true"/>
 </apex:outputPanel>

No comments:

Post a Comment

Grounding Prompt Templates with Apex Merge Fields

 Hi, You can include an Apex merge field in a prompt template to surface data retrieved from a SOQL query or an external API. Apex is also u...