-
MODX Staff
- 10,725 Posts
fromArray() definitely does not strip anything from the fields. Validation in MODx is configured to occur on save() of the objects from the modx model. I do not believe MySQL will strip them either. I’m not sure what your issue could be, but I do not believe the problem is in the xPDO layer.
Ok thank you.
In that case it might be a problem with the formit snippet I’m using. Could you tell me if this is wrong?
[[!FormIt?
&hooks=`addStock` &validate=`description:allowTags` ]]
description is a textarea which is given both the name and id: ’description’
-
MODX Staff
- 10,725 Posts
You might have better luck directing this to the FormIt support forums. Sorry, I have very little experience with that Add-On atm.
Ok thank you for your help.