Posted by cdale on October 13, 2009 at 4:25am
| Download | Size | md5 hash |
|---|---|---|
| skip_validation-6.x-1.4.tar.gz | 7.32 KB | 293c6d6508c54ca1480758916d2710d6 |
| skip_validation-6.x-1.4.zip | 10.07 KB | 3e4aa5a6538302fd5bfcc4638a2894a2 |
Last updated: December 24, 2010 - 23:49
Release notes
The API now has three FAPI options for buttons.
#skip_validation - Skips all validations, core (#required, #maxlength, and #options checking), and all #element_validate and #validate callbacks.
#skip_core_validation - Skips only the #required, $maxlength and #options checking.
#skip_required_validation - Skips only the #required validations.
Added a mini-module for skipping validation when deleting a user from the user profile form.
NOTE: I do not guarantee the sanctity of data when these options are placed on buttons that trigger data saving actions. Use at your own peril. Module maintainers typically make fields required for a reason, and validation callbacks can sometimes alter data to be saved. Not allowing these routines to run on save actions can cause unforeseen errors, and I will not be able to offer support for these issues.
Whilst there are use cases for using this module, it is very black and white. This module does not allow you choose some fields to be skipped, and others not. Use with care, and be sure it is really what you want, and test thoroughly.