Recapture - Error format

GreyHead 28 Jan, 2013
Hi rdadmin,

I think it's because you have <p> tags around the form. These are not technically permitted in HTML. What's happening in FireFox is that your form HTML which is
<p>
  <span class="cf_alert">
    <ol>
      <li>The validation code was not entered correctly. Please try again.</li>
    </ol>
  </span>
  <form . . .
gets changed into
<p>
  <span class="cf_alert"></span>
</p>
<ol>
  <li>The validation code was not entered correctly. Please try again.</li>
</ol>
<form . . .
Other browsers may behave differently!

Bob
rcadmin 01 Feb, 2013
Hi Bob,

You were correct. The problem is that my editor puts the <p> </p> in for me around the Chronoform plugin. I had to edit the database directly to get them out. Is there a better solution?
GreyHead 03 Feb, 2013
Hi rcadmin,

Yes, put <div> tags around the {chronoforms}form_name{/chronoforms} in the editor - you'll probably need to click the HTML icon to do this. Once they are in place the editor won't add extra <p> tags.

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