Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nikolaj Dam Larsen 10 posts 30 karma points
    Dec 07, 2010 @ 23:48
    Nikolaj Dam Larsen
    0

    Cannot get any of the labels or validation messages to render.

    Well, the title pretty much describes my problem. When loading my page, the text I've defined for the labels, validation and such, isn't rendered - only the form fields are shown.When using the preview function in the Content editor, everything seems perfectly fine, but it wont render the text on the "real" site.

    Hope someone is able to help.

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Jan 02, 2011 @ 19:15
    Sebastiaan Janssen
    0

    Hey Nikolaj, I've just seen this topic, sorry for the late reply, you must be using something else now. If not:

    Are you sure that the properties are correctly named on your document type? Make sure the casing is correct as well ("contactNameLabel", not "ContactNameLabel" or something like that). You're saying it does work in preview mode? That is really strange, try republishing your entire site just to make sure.

    Finally, make sure that the html that is in the frontend is valid and does not contain any self-closing tags. This happens if you have empty tags anywhere in your XML, like <strong></strong> will turn into <strong/> and browsers don't like that. The only things that are allowed to be self-closing is the <img /> and <input /> tags.

Please Sign in or register to post replies

Write your reply to:

Draft