Hi there,
This question has been asked before: https://www.joomlacontenteditor.net/support/forum/editor/110661-code-getting-stripped-from-rsform-admin-email-template but the solution you suggested does not exist anymore. So here goes:
I am using RS Form Pro on my site. The e-mail templates for user and/or admin emails use JCE for editing the templates. In the e-mails being generated from the form, I sometimes use RS Form if-statements. Here's an example:
<table>
........
{if {mededelingen:value}!=}
<tr>
<td colspan=2 style="text-align: left;">{mededelingen:value}</td>
</tr>{/if}
</table>
This will insert a table row, if a certain requirement is met (if mededelingen is not empty, insert this row).
Both TinyMCE and JCE strip the if-statement from within the table and put it at the top of the mail template: {if {mededelingen:value}!=} {/if}
Is there a way to stop JCE stripping the RS Form code?
Thanks
Thom