Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Unrendered html displaying on screen


Go to End


2 Posts   1048 Views

Avatar
tommymato

Community Member, 6 Posts

10 July 2012 at 9:11am

I'm using SS 2.4.7 with the userforms module. When adding a field to the form, after I click the 'Add' button I get a whole screen of unrendered HTML i.e. I see the HTML displayed on screen - no controls, no links, only HTML code. The only thing I can do is press the Back button. The strange thing is, the HTML output looks perfectly ok, and when I examine it by looking at the 'view source' it looks exactly the same as what is displayed on screen. Perhaps there is an extraneous control character somewhere in there but I can't see it.

I thought it might be a browser issue but the same happens in IE, Firefox and Chrome.

My apologies if this has already been posted and answered. I did a good search of these forums but as you can imagine, searching for questions about unrendered HTML in a CMS forum throws up 80 bjillion results :-)

Avatar
tommymato

Community Member, 6 Posts

10 July 2012 at 8:45pm

My fault! (throw me out of the old programmer's retirement home)

When installing the forms module I forgot the step of renaming the module folder to 'userforms'. I'm submitting this reply in case anyone with a similar problem in future is looking for a possible answer.