optional behavior: validate instead of replace
mariuss - October 21, 2008 - 02:28
| Project: | Wordfilter |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
An alternative behaviour would be to validate the form submission and prevent completion if filtered words are encountered. This will give people a chance to fix their text. Not sure if this is possible with hook_filter.
With this behaviour the module is not acting as a filter anymore, but the end result is pretty close IMO.
