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

Getting Reference FieldsI(Lookup or Master detail) through dynamic apex

Hi , We  had a scenario If  we get a parameter "id" in the  url  then we should  be  able to find out    object reference is ...