All Questions
Tagged with symfony-validator symfony3
3 questions
0
votes
2
answers
1k
views
Symfony3 - How to validate HTML tags
By using Symfony validators
How to prevent some HTML tags like
<input></input> <textarea><textarea>
from being entered in input field and saved in database?
1
vote
2
answers
7k
views
Symfony validation callback
I'm trying to validate my entity via static callback.
I was able to make it work following the Symfony guide but something isn't clear to me.
public static function validate($object, ...
1
vote
1
answer
782
views
symfony 3 choice validation issue
I have a choice field (drop-down) which I want to validate against a DB table.
Essentially, if the value is in the query's results, it's valid.
It's not so clear to me how the callback reported in ...