5 个回答
Hi, My code is:
<apex:page showHeader="false" sidebar="false" showChat="false" standardController="Views_Renewal_Form__c" >
<apex:form id="updateRenewalForm" forceSSL="true" style="margin-left: auto; margin-right: auto; width: 90%">
<apex:pageBlock mode="maindetail" >
<apex:pageBlockButtons >
<apex:commandButton value="Save" action="{!save}"/>
</apex:pageBlockButtons>
<apex:inputfield value="{!Views_Renewal_Form__c.Agreement_length1__c}"/>
<apex:inputfield value="{!Views_Renewal_Form__c.Payment_schedule_preference1__c}"/>
</apex:pageBlock>
</apex:form>
</apex:page>
And screenshot:
ThanksS