Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Validator contains

$
0
0
I have this validator:
Code:

<field name="f_foto_filename" type="text">
                        <validators>
                                <validator type="contains" substring=".jpg" />
                        </validators>
                </field>

But this doesn't work when the filename is foto.JPG. How to make this ignore case?

Viewing all articles
Browse latest Browse all 4756

Trending Articles