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
Matt FolgerMatt Folger 

Open quote is expected for attribute "Title"

Hi, I'm creating a VF page like I've done about a dozen times and getting an error that should be easy to fix but somehow evades me.  

Error Error: ServQ_Inquiry line 13, column 30: Open quote is expected for attribute "title" associated with an element type "apex:pageblocksection" 
Error Error: Open quote is expected for attribute "title" associated with an element type "apex:pageblocksection".

From the beginning of the page to the line in which it has the error looks like this:

<apex:page controller="ServQInquiry" tabStyle="ServQ__c" showHeader="true" sidebar="false" >
    <apex:form >
        <apex:pageBlocksection title="Search by Customer">
                 <apex:inputText value="{!ServQ_Inquiry}" label="Inquiry"/>
            </apex:pageBlockSection>
<apex:pageblocksection title="Search by Something" showheader="false" columns="2">
                 <apex:inputText value="{!ServQ_Customer_Number}" label="Customer Number"/>
                 <apex:inputText value="{!ServQ_Customer_Name}" label="Customer Name"/>
                 <apex:inputText value="{!ServQ_Ship_to_Number}" label="Ship To Number"/>
                 <apex:inputText value="{!ServQ_Ship_To_Name}" label="Ship To Name"/>
        </apex:pageblocksection>
As you can see the " is right where it should be, yet it won't stop kicking that error.  

Any ideas?

Best Answer chosen by Matt Folger
kevin lamkevin lam
There is a closing </prgeBlock> tag in line 26 but I can't the corresponding opening one.

Also, the quotes around Search by Item are different from others, not sure if it's caused by pasting your code here.

All Answers

kevin lamkevin lam
Can you post the entire page? It could be somewhere further down the page.
Matt FolgerMatt Folger
<apex:page controller="ServQInquiry" tabStyle="ServQ__c" showHeader="true" sidebar="false" >
    <apex:form >
        <apex:pageBlocksection title="Search by Customer">
                 <apex:inputText value="{!ServQ_Inquiry}" label="Inquiry"/>
            </apex:pageBlockSection>
<apex:pageblocksection title="Search by Something" showheader="false" columns="2">
                 <apex:inputText value="{!ServQ_Customer_Number}" label="Customer Number"/>
                 <apex:inputText value="{!ServQ_Customer_Name}" label="Customer Name"/>
                 <apex:inputText value="{!ServQ_Ship_to_Number}" label="Ship To Number"/>
                 <apex:inputText value="{!ServQ_Ship_To_Name}" label="Ship To Name"/>
        </apex:pageblocksection>
        
<apex:pageblocksection title=”Search by Item” showheade="true" columns="2">
                 <apex:inputText value="{!ServQ_Part_Number}" label="Part Number"/>
                 <apex:inputText value="{!ServQ_Serial_Number}" label="Serial Number"/>
                 <apex:inputText value="{!ServQ_Item_Division}" label="Item Division"/>
                 <apex:inputText value="{!ServQ_Item_Class}" label="Item Class"/>
        </apex:pageBlockSection>



                 
            <apex:pageBlockButtons location="bottom">
                    <apex:commandButton action="{!search}" value="Search"/>
            </apex:pageBlockButtons>
                        </apex:pageBlock>
        <apex:pageBlock title="Search Result">
            <apex:pageBlockTable value="{!searchResults}" var="res" rendered="{!searchResults.size > 0}">
            <apex:column title="Inquiry Number">
                    <apex:outputLink value="/{!res.Id}" target="_blank">{!res.name}</apex:outputLink>
            </apex:column>   
                                 
                <apex:column title="Order Number" value="{!res.Order_Number__c}"/>
                <apex:column title="Repair Type" value="{!res.Repair_Type__c}"/>
                <apex:column title="Ordered Date" value="{!res.Ordered_Date__c}"/>
                <apex:column title="Customer Name" value="{!res.Customer_Name__c}"/>
                <apex:column title="Serial Number" value="{!res.Serial_Number__c}"/>


            </apex:pageBlockTable>
            
            <br/>
            SOQL: {!queryString}
            



        </apex:pageblock> 
    </apex:form> 

</apex:page>

kevin lamkevin lam
There is a closing </prgeBlock> tag in line 26 but I can't the corresponding opening one.

Also, the quotes around Search by Item are different from others, not sure if it's caused by pasting your code here.
This was selected as the best answer
Matt FolgerMatt Folger
Thanks a million Kevin.  1,000,000 thank yous.

=)