Does HTML Disappear on Custom Display for Other People Too?

Dear FormidablePro,

First of all, we love FormidablePro. I only wish I knew better how to use everything you’ve built into it.

I’ve had a problem for the longest time that when I create HTML in the custom display, if I switch to visual and back to HTML, all the HTML goes away and I’m only left with the shortcodes for my fields.

Am I the only one seeing this happen or have other people asked about it?

Thank you,

John Wurtenberger

jwurtenberger@ultraxinc.com

Can you provide an example of the HTML that is getting wiped? The problem is that with a typical custom display...say for example you are using a table, you place some tags in the "before" content section (like the <table> tag) and others in the "content" section (like your <tr> tags).

The problem with starting the "content" section with something like a <tr> tag is that the editor views this as invalid HTML and tries to fix it or remove it when you switch to the visual tab.

Does this sound like what you are experiencing?

Hello Steve,

Thanks for getting back to me. I think I understand what you're suggesting.

Below is the HTML from my Content section.

I tried changing that HTML to some simple (i.e. non-table) HTML and it converts back and forth just fine. So I think I've proved what you were suggesting. But are you aware of any way to keep the editor from "fixing" the "invalid" HTML?

Thank you for the help.

Kindest regards,

John W

<tr>
<td>[key1]</td>
<td>[key2]</td>
<td>[key3][key4]</td>
<td>[key5]</td>
<td>[key6]</td>
<td>[key6]</td>
<td>[key7]</td>
<td><a title="[key8] Rev [key9]" href="[key10]">Download</a></td>
</tr>

We can't verify your account. Can you please log in for further support on this topic?

Hi,

John is a client of mine and we used formidable pro for his site.  I imagine a lot of people have the <table> tag in the before content area, with <tr> tags in the content area. But, I guess I never noticed code getting cleaned out in the custom display area, because I'm always in the HTML tab.

I did test it by adding a <br /> tag in the content area in "html" mode. Saved it, switched to "visual" mode then flipped back to "html" mode. It looked like it cleared it out, but really it didn't.  If I close that custom display and open it back up in "html mode"; it's there.  So it looks like it can play tricks on you :)

Just curious...Is there a way to disable visual mode for custom display? But keep visual display for post and pages?

Thanks

 

example...

Before Content Area <table>

Content Area <tr><td>[12]<br /></td><tr>

After Content Area </table>

Please see this related post:
http://formidablepro.com/help-desk/remove-the-visual-editor/

Topic closed.