compare-compare-true-validator

compares the specified attribute value with another value and validates if they are equal when other compared are equal
1 follower

This extension is compares the specified attribute value with another value and validates if they are equal when other compared are equal.

Resources

Documentation

Requirements

  • Yii 1.0 or above

Installation

  • Extract the release file under protected/components hint:components path is must in import path.

Usage

See the following code example:

array('attributeA','SCompareMustBeValidator','mustBeValue'=>'attributeAValue','compareAttribute'=>'attributeB','compareValue'=>'attributeBValue'),

Change Log

June 4, 2009

  • Initial release.

Be the first person to leave a comment

Please to leave your comment.

Create extension