Yii 1.1: 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
  • Yii Version: 1.1
  • License: New BSD License
  • Developed by: sharehua
  • Category: Validation
  • Votes: No votes yet
  • Downloaded: 379 times
  • Created on: Jun 4, 2009
  • Last updated: Dec 26, 2009