2

The Template below validates ok, but when I add the repeat tag it get an error:

When I add the Apex tag here is the message I get: Error Error: Volunteer_Reminder_of_All_Opps line 21, column 7: The element type "p" must be terminated by the matching end-tag "

" Error Error: The element type "p" must be terminated by the matching end-tag "

".* Valid VF Email Template This is the updated code that gives me the error: block

enter image description here

3

You have a ) instead of a } after recipient Name

Dear {!recipient.Name}
  • Am wondering why its throwing error in line 21 instead of line 12. – Vigneshwaran G Jun 25 '15 at 19:07
  • Just because of the order and way the parser is working. VF compiling can be a pain sometimes as the line it shows may have nothing to do with it or it just does not show any line number at all. It is especially quirky when you mix html tags and vf tags like you (and everyone else) has – Eric Jun 25 '15 at 19:17
  • @Craig - Did this resolve your issue? – Eric Jun 26 '15 at 1:33
  • Thank you! I needed a second pair of eyes. So appreciate your time. – Craig Jun 29 '15 at 20:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.