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
renu anamalla 9renu anamalla 9 

I have Passed in CustomController <apex: inputfield value="{!obj.Name}"/> but not displayed Error coming

Sample code:

Custom Object:Obj__c:


<apex:page controller="obj__c">
<apex:form>
<apex:pageblock>
<apex:pageblocksection>

<apex:inputField value="{!obj.Name}"/>   // replace here
<apex:inputField value="{!obj.Phone__c}"/>

</apex:pageblock>
​</apex:pageblocksection>
</apex:form>
</apex:page>


Regards,
Renu....
Mahesh DMahesh D
Hi Renu,

Please paste your VF page and Custom Controller here.

Explain about what kind of error message you got and also use the above panel (< >) to copy the code.

Regards,
Mahesh
Praveen KHariPraveen KHari
Please check your Field Level security.
If you use apex:inputField it check Field Level security. 

-Praveen K Hari