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.

Archive

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

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

Extending PageCommentInterface


Reply

4 Posts   1600 Views

Avatar
dio5

8 December 2007 at 5:53am Community Member, 501 Posts

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:

http://pastebin.com/d7994bc88

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.

Avatar
dio5

8 December 2007 at 1:32pm Community Member, 501 Posts

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

Avatar
Sean

9 December 2007 at 5:48pm Forum Moderator, 921 Posts

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

Cheers,
Sean

Avatar
dio5

10 December 2007 at 12:35am Community Member, 501 Posts

Oh, it had probably expired.

Try this:

http://pastie.caboo.se/126182

cheerz