Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Could content.module have a built in regexp field type, allowing us to define any field type we want using a regular expression instead of having to download a new module for each field type?
Comments
Comment #1
mki CreditAttribution: mki commentedField type modules doing much more than simply defining patterns for data: there are features for storing and procesing data dedicated to currently existing field types. See for example date or e-mail modules.
Regular expressions could be useful way for more restricted validation above fields. But it seems that this feature is still in progress and it's hard to say when it will be done: you can search issue queue for more information.
Comment #2
yched CreditAttribution: yched commentedthe thread is http://drupal.org/node/84791
It would probably not require _that_ much work, but I did not find any time yet to get to it...
Comment #3
kenorb CreditAttribution: kenorb commented8.x: #52051: Validation API/UI