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
Mayank Deshpande 2Mayank Deshpande 2 

Name uniqueness errror

Hi All,

 i have created one custom object Tickets and custom field Concert having master detail relationship 

while Saving VF page i am getting below error
The name can only contain underscores and alphanumeric characters. It must begin with a letter and be unique, and must not include spaces, end with an underscore, or contain two consecutive underscores.    



<apex:page controller="Tickets__c">
  <apex:form>
  <apex:page>
  <apex:pageBlock>
 <apex:inputField value="{!Tickets__c.Concert__c}"/>    
  </apex:pageBlock>  
  </apex:page>  
  </apex:form>
</apex:page>
 
Karan Shekhar KaulKaran Shekhar Kaul
Try 

<apex:page standardcontroller="Tickets__c">
  <apex:form>
  <apex:page>
  <apex:pageBlock>
 <apex:inputField value="{!Tickets__c.Concert__c}"/>    
  </apex:pageBlock>  
  </apex:page>  
  </apex:form>
</apex:page>