Forums

double error box showing up

jrthor2 05 Feb, 2011
When my form has an error, it shows a red error box with nothing in it, then another red error box with the error message in it. How can I fix this? I've attached a screenshot.

Thanks
GreyHead 06 Feb, 2011
Hi jrthor2,

Hard to tell without seeing the form code.

Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
jrthor2 06 Feb, 2011
I sent you a PM with it attached.

Thanks!!
GreyHead 06 Feb, 2011
Hi jrthor2,

Hmmm . . . I only get the one error message. I do have the fixed version of 3.2 installed but as you have no file upload that shouldn't make a difference.

Maybe something to do with the plug-in as I assume you are using that to display the form?

Bob
jrthor2 06 Feb, 2011
What browser did you try? It only happens in IE
GreyHead 06 Feb, 2011
Hi jrthor2,

Got it.

The problem is that the Joomla! Rich text editor sees the
{chronocontact}photo_directory{/chronocontact} string and can't resist putting <p>. . .</p> tags round it and they cause the error. If you open the HTML editor and add <div> . . . </div> tags then you don't get the compulsory <p> tags and all is well.
<div>{chronocontact}photo_directory{/chronocontact}</div>

Bob
jrthor2 06 Feb, 2011
That worked, thanks!!!
This topic is locked and no more replies can be posted.