I have this validator:
But this doesn't work when the filename is foto.JPG. How to make this ignore case?
Code:
<field name="f_foto_filename" type="text">
<validators>
<validator type="contains" substring=".jpg" />
</validators>
</field>