Support ⇒ Dragonfly CMS v10 ⇒ HTML form/javascript in Content module? ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexDragonfly CMS v10

HTML form/javascript in Content module? Reply to topic


Is there a way I can use HTML forms and javascript in the Content module?
It all seems to get stripped out when I try it.

I would like to create some simple calculators within the Content module (for example, for calculating vehicle gearing).
If I can't do it in the Content module, I'll have to create my own module for it.

Test Signature

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


When posting HTML, certain elements are stripped as users shouldn't post them.
However, it shouldn't be stripped on admin pages.

This was a bug and i have now fixed it.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


Thanks.
I ended up writing a new module for it, which has worked out better anyway I think.

Test Signature

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):

All times are UTC


Jump to: