I have a model with a form, the form has a pre-populated value "Enter Your Data Here".
Unfortunately this is a valid submission by my model rules, but I want to require that people fill in there own data and not submit the default, I tried the following rule without success, any suggestions?
array('model', 'compare', 'compareValue'=>'Enter your data here.', 'operator'=>'!='),
OK, did a little more digging, compare is obviously not the way to go, trying now with regular expression, but it is still letting it though, any help is appreciated.
Current code:
array('model', 'match','pattern'=>'/^(Enter your data here).*$/','not'=>true,'message'=>'Please enter your data'),