Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Problem With Validation Rules (Default And Filter Strip Tags)

$
0
0
Hi guys, i'm having a problem with two validation rules (default, value=>null and filter strip_tags), i cannot use the same attribute with this two validation rules. If i set default null and strip tags, the default rule don't work. Someone have any idea why this happen?

      array('crx_value', 'default', 'value'=>null),
      array('crx_value', 'filter', 'filter'=>'strip_tags'),

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>