Closed (duplicate)
Project:
Validation API
Version:
6.x-1.0-alpha1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2008 at 15:57 UTC
Updated:
17 Jul 2008 at 15:59 UTC
I installed Validation API then clicked on the Validation API link in the Site building area. Then I went to add a validator. The Name and Type fields are straightforward enough, but when I get to Rule, I'm not really sure what to put in there. Do I start it with <?php on a PHP validator? Does the regex need to be preg_match('/string/', $string, $matches); or just '/string/' or even just /string/? Using validation_api_help() to add examples to admin/build/validation_api/validators/add would be a great help, I think.
Comments
Comment #1
deekayen commentedOops: http://drupal.org/node/277249