Forums

Validation error box appears twice in the article

njaksic 10 Feb, 2010
Hi,
I have a form with server-side php validation enabled. When I view the form by following the link in chronoforms forms management, the validation message (pink box with my error messages) appears nicely above the form.
However, when I use the chronocontact plugin to display the form inside an article, there are two pink boxes. The first one has no text in it, and the second one has my error messages. I'll try to upload a screenshot so you can see what it looks like.
Any ideas what could be causing this?
Thanks!
GreyHead 15 Feb, 2010
Hi njaksic,

Sorry, I can't replicate this. I can only think that something is triggering another error message but I've no idea what that might be.

Bob
njaksic 17 Feb, 2010
I finally figured it out -- the joomla editor had put in the <p> tags around my {chronocontact}form{/chronocontact}. That explains why this only happened when the form was displayed inside the article. Thank you for looking into it!
GreyHead 17 Feb, 2010
Hi njaksic,

That makes perfect sense - it has a irritating habit of changing the html :-(

I would not have thought of that explanation for quite a while.

Bob
This topic is locked and no more replies can be posted.