You need to sign in to do that
Don't have an account?
Tom Blamire 24
Error: 'apex:form' component cannot be nested within the form tags
Hi,
I have created (tried) the following VF page but am getting the above error:
where am i going wrong???
I have created (tried) the following VF page but am getting the above error:
<apex:page standardController="Opportunity"> <!-- Page Header --> <apex:sectionHeader title="New Opportunity" subtitle="New opportunity for {!Opportunity.Account} " /> <!-- Opportunity --> <apex:form > <apex:pageBlock title="Opportunity:" mode="edit"> <!-- Fields --> <apex:pageBlockSection columns="1" showHeader="true" title="Details"> <apex:inputField value="{!Opportunity.AccountId}" required="true" /> <apex:inputField value="{!Opportunity.CloseDate}" required="true" /> <apex:inputField value="{!Opportunity.StageName}" required="true" /> <apex:pageBlockSectionItem > </apex:pageBlockSectionItem> </apex:pageBlockSection> <!-- Button Section --> <apex:pageBlockButtons location="bottom"> <apex:commandButton value="Save" action="{!save}" /> <apex:commandButton value="Cancel" action="{!cancel}" /> </apex:pageBlockButtons> </apex:pageBlock> </apex:form> <!-- Product --> <apex:sectionHeader title="Products" subtitle="Add Products for {!Opportunity.Name} " /> <apex:form > <apex:pageBlock title="Products:"> <apex:include pageName="ManageOppProducts"/> </apex:pageBlock> </apex:form> </apex:page>
where am i going wrong???
All Answers
Unfortunately i am still getting the same error