This extension is compares the specified attribute value with another value and validates if they are equal when other compared are equal.
protected/components
hint:components path is must in import path.See the following code example:
array('attributeA','SCompareMustBeValidator','mustBeValue'=>'attributeAValue','compareAttribute'=>'attributeB','compareValue'=>'attributeBValue'),
Be the first person to leave a comment
Please login to leave your comment.