I've a couple of CCK field attached to the "product" content type.
Maybe I'm wrong but it seems 'validate' is never called on product nodes.
I can hook 'submit' without problem but no luck with 'validate'.
Works fine with other content types.
Any idea ?
Thanks!
(UC-Beta3)
hook_nodeapi('validate')
Submitted by z3b on Thu, 01/31/2008 - 21:38
|
|
I think at some point hook_validate() wasn't working like I thought it should, so I added in a validate handler to the form. But because I wanted to see if it was a Drupal problem or an Übercart problem, I changed it back. Now it works fine.
If you've got some form_alter that's overwriting the validate handlers, that will prevent the product validation from working. This would be fixed with the latest revision, 845.
|
|





Joined: 08/15/2007