Running on Drupal 6.14 with CCK 6.x-2.6.
A field added to my content-type doesn't throw an error message or refuse validating when entering an isbn with less than 13 digits (example: 9783940666). It also doesn't refuse validating when entering a wrong isbn number (with wrong last digit like 9783940666049).
Anything I missed when installing?
I activated both the simple validation and the AJAX-validation. AJAX-validation just gave me and endless spinner in the input field.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | isbn.module.patch | 1.49 KB | katrienc |
| #1 | isbn_attach.js_.patch | 902 bytes | katrienc |
Comments
Comment #1
katriencI've created a patch to solve these 2 problems.
Comment #2
katriencchanged the status to needs review
Comment #3
reglogge commentedValidation without JavaScript works fine now, thanks!
Validation with JavaScript works during input of ISBN-numbers. However, when saving the node I get these error-messages:
Drupal seems to look for a file isbn.js which isn't there in the module.
Comment #4
reglogge commentedI think this is the function from isbn.module that causes the problem:
Comment #5
katriencThat's true. That's also the reason why I opened the issue on http://drupal.org/node/687924 and created a patch that removes the isbn.js script that doesn't exists.
Comment #6
zbricoleur commentedFixed in alpha3. Thanks lot007!