+ 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>