The widget setting to Not Validate does not work. The reason is this line of code that checks if validation should be done or not:

having the !-- check not just logic but data type as well... and the field setting comes in as a string '0', '1' or '2'.. whereas the constant is a long int.. so this fails all the time

correct code should be

$field['isbn_validation'] != ISBN_NO_VALIDATION

patch is attached

CommentFileSizeAuthor
isbn-fix_no_validate.patch688 bytesliquidcms

Comments

jon pugh’s picture

Version: 6.x-1.0-alpha3 » 6.x-1.x-dev
Status: Active » Fixed

Applied and fixed in 6.x-1.x! Thanks.

http://drupalcode.org/project/isbn.git/commit/ffee7bd

Don't forget, we are looking for a maintainer!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.