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
scamero2scamero2 

Illegal view ID save.

I am trying to create a data entry page and I am having trouble with the save command button.  When I enter values I am getting the following error
 
Illegal view ID save. The ID must begin with /
  1. I have the following VF code
 
<apex:page standardController="Plan_Holding__c">
    <apex:Form >
        <apex:pageBlock title="Plan Holding Information">
            <apex:pageBlockButtons >
                <apex:commandButton action="save" value="Save"/>
            </apex:pageBlockButtons>
            <apex:pageBlockSection >
                <apex:inputField value="{!Plan_Holding__c.Plan__c}" >
                </apex:inputField>
                <apex:inputField value="{!Plan_Holding__c.As_of_Date__c}">
                </apex:inputField>
            </apex:pageBlockSection>
        </apex:pageBlock>
    </apex:Form>
</apex:page>
Best Answer chosen by Admin (Salesforce Developers) 
Mark YoungMark Young

The action for the commandButton should be "{!save}".

Also, please use 'src' to post code on these forums (gets rid of the smileys).