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
Sammy WesselSammy Wessel 

Syntax Error in Visualforce with no Details

I'm building a visualforce page for the first time, it's not complete and I'm just playing around with layouts but I'm getting a Syntax Error with no information telling me what the error is, screenshot of the data below. Please help!

Syntax Error
Steven NsubugaSteven Nsubuga
The problem is on line 10, and then downward. Change it to something like this:
<apex:pageBlockTable value = "{!Podcasts__c}" var="podcast">
<apex:column value="{!podcast.Title__c}"/>
<apex:column value="{!podcast.Ad_Type__c}"/>
</apex:pageBlockTable>

 
Sai Teja 7557Sai Teja 7557
Hi Sammy Wessel,
basically, we use var value ( this is from your code screen shoot var="podcast__c.Title__c") as reference to display the fields.
so u need to entire var value. (dot) field name to display records.
Sammy WesselSammy Wessel
Thank you so much to you both! Makes sense, I've updated but I'm still getting the syntax error

Syntax Error
Sai Teja 7557Sai Teja 7557
Hi Sammy Wessel,
I have seen there are two pageblock ending tags, may be that leads to syntax error, please check that and if not resolved please paste the entire code spo that i can help you on that
Thanks
SaiTeja