function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Deepak PansariDeepak Pansari 

Inline editing for visualforce page and making some field required.

Hi All,

 

I trying to create a VF page with inline editing feature , But I am unable to make some field as Required on the page.

 

Can any one have any idea !!!. Below is the code snippet

 

/// Code -  

<apex:outputField value="{!contact.lastname}">  
                <apex:inlineEditSupport showOnEdit="saveButton, cancelButton"  
                hideOnEdit="editButton" event="ondblclick"  
                changedStyleClass="myBoldClass" resetFunction="resetInlineEdit"/>  

</apex:outputField> 

 

Regards,

Deepak