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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

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

Extending PageCommentInterface

Go to End

4 Posts   1822 Views


Community Member, 501 Posts

8 December 2007 at 5:53am

Ok guys,

I'm extending the pagecomment and ran into next problem:

I've set up a few requiredfields, validator... but thing is, it doesn't work as it should.
It does validate, but doesn't send back any error messages like
'Email is required' with js off.

The client side validation does work though.

You can view my code here:

Speaking of validation, I think the js-validation might be improved to. It doesn't hold me from just filling out whitespace and fails completely in Opera.


Community Member, 501 Posts

8 December 2007 at 1:32pm

Maybe a bug, shall I open a ticket for it?


Forum Moderator, 922 Posts

9 December 2007 at 5:48pm

I can't seem to view your code... is it actually there?



Community Member, 501 Posts

10 December 2007 at 12:35am

Oh, it had probably expired.

Try this: