Form Elements Vanishes After Page Load

Rahul

New Member
Hii
I can add form elements in my Email Template
as soon as i hit save button all the form elements gets vanished...

Please help
 
They are removed by htmlpurifier filter since they're open to some nasty things/hacks.
In apps/common/config/htmlpurifier.php you have all the configuration for htmlpurifier.
In same folder you can create a file named htmlpurifier-custom.php that will be also loaded and you can put your custom config there for htmlpurifier that would eventually allow forms.
I am not sure how the htmlpurifier configuration should look like to do that at this point, nor i think i'll allow forms in the content, so if i were you, i'd find an alternative way for this.
 
Back
Top