[eluser]edwardmolasses[/eluser]
[quote author="TheFuzzy0ne" date="1209429703"]I don't understand what you mean. Can you give an example?[/quote]
Sure, well it's just a text input form, and i want to make sure it's not empty, and also that it doesn't show up as empty when i display what the user entered in that field on another page. So if i use required as a validation rule it will make sure the user entered text but if they enter html space entities (like & nbsp (have to put a space before & or it will parse it as a space on this page)), they will not be counted. At the moment, the required rule counts the space entity as text and let's it through and then i end up with an empty field when i display it.
I was wondering, should i just write my own callback, or is there a validation rule (ci or user written) for this that might also convert all the other html entities when checking?