This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
119 Posts
Cappu
21 days ago
Topic

Hi,

I do use Before Render to overwrite some field values. Works fine for all field types besides tinyMCE fields. 

Anybody out there who could give me a hint on how to change tinyMCE editor fields?

Thanks and kind regards

Get a Book for SEBLOD
119 Posts
Cappu
12 days ago
0
Level 1

Could solve it myself. Just use this:

$sometext = '...';

$fields['myformfield']->form = str_replace('</textarea>', $sometext.'</textarea>', $fields['myformfield']->form);

Get a VIP membership