如何在SFDC的视觉力中得到Mandatory标志?
How we can get the Mandatory sign in the Visual Force of SFDC?
我是 SDFC
的 Visual Force
代码的新手。我想在 pageBLockSection 的 "Entry Section" 开发代码中获得强制性详细信息需要的标志,如下所示。我怎样才能做到这一点 ?
<apex:page standardController="account">
<apex:form>
<apex:pageBlock title="Block One">
<apex:pageBlockSection title="Entry Section">
<apex:inputField value="{!account.Name}"/>
<apex:inputField value="{!account.phone}"/>
<apex:inputField value="{!account.billingcity}"/>
<apex:inputField value="{!account.Industry}"/>
<apex:commandButton value="Submit" action="{!save}"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
要使输入标签成为必需,请为输入设置 required = 'true'。
例如,<apex:inputtext value="{!Name}" required="true"/>
我是 SDFC
的 Visual Force
代码的新手。我想在 pageBLockSection 的 "Entry Section" 开发代码中获得强制性详细信息需要的标志,如下所示。我怎样才能做到这一点 ?
<apex:page standardController="account">
<apex:form>
<apex:pageBlock title="Block One">
<apex:pageBlockSection title="Entry Section">
<apex:inputField value="{!account.Name}"/>
<apex:inputField value="{!account.phone}"/>
<apex:inputField value="{!account.billingcity}"/>
<apex:inputField value="{!account.Industry}"/>
<apex:commandButton value="Submit" action="{!save}"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
要使输入标签成为必需,请为输入设置 required = 'true'。
例如,<apex:inputtext value="{!Name}" required="true"/>