Hi Abu,
I’ve got an issue where users are entering in greater than and less than symbols into text/textarea fields and the data isn’t being saved. I’ve determined that the system is thinking it’s html code and ignoring it. Is there anyway to disable html in the fields, i.e. just insert whatever the user types in?
Example:
- User types in “<1111”. When entered via inline edit it goes in fine, when using form edit nothing goes in. Anything after and including the “<” symbol gets ignored unless a corresponding “>” symbol shows up.
Thanks mate
1 Answers
You can disable it by setting:
$opt["sanitize"] = false;
...
$g->set_options($opt);
Your Answer