I am getting the error Element type "apex:inputText" must be followed by either attribute specifications, ">" or "/>".
when using <apex:inputText>
.
VF Markup
<apex:page controller="awardsClassExperiment" lightningStyleSheets="true">
<apex:form>
<apex:pageBlock>
<!--Add scholarship to pageBlockTable-->
<apex:pageBlockButtons>
<apex:commandButton action="{!add_recipient}" value="Add Recipient"/>
</apex:pageBlockButtons>
<!-- User inputs fields -->
<apex:inputText value="{!currentSubmission.recipient.Name"} label="First Name"/>
<apex:inputText value="{!currentSubmission.recipient.Last_Name__c"} label ="Last Name"/>
<apex:inputText value="{!currentSubmission.recipient.School__c}" label="School"/>
<apex:inputText value="{!currentSubmission.Specialty__c"} label="Specialty"/>
<apex:inputText value="{!currentSubmission.scholarship.Award__c"} label="Award"/>
</apex:pageBlock>
<!-- Record List-->
<apex:pageBlock title="Your Added Scholarships">
<apex:pageBlockTable> id="Recipients" value="{!Submissions}" var="Recipient">
<apex:column headerValue="First Name" value="{!Recipient.Recipient.Name}"/>
<apex:column headerValue="Last Name" value="{!Recipient.Recipient.Last_Name__c}"/>
<apex:column headerValue="School__c" value="{!Recipient.Recipient.School__c}"/>
<apex:column headerValue="Award" value="{!Recipient.Scholarship.Award__c}"/>
</apexPageBlockTable>
</apex:pageBlock>
</apex:form>
</apex:page>
I am not sure what is the issue here as I used <
and />
for all <apex:inputText>
tags.
value="{!currentSubmission.recipient.Last_Name__c"}
. Is that a typo, or does it really exist in your visualforce page?