3 respuestas
See if below change helps . i.e. PageBlockSection should be used within the PageBlock tag.
<apex:page standardController="Product2">
<apex:form >
<apex:pageBlock>
<apex:pageBlockSection columns="2">
<apex:inputField Value="{!Product2.Name}" label="Project Name" />
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>