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

Get the Developer Name for Record Types without SOQL query

Hi, Previously, the developer name was accessible only via SOQL on the RecordType SObject, and not via describe information. Now you can ...