Forums / Extensions / custom validation and ezoe

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

custom validation and ezoe

Author Message

David Wirth

Wednesday 26 May 2010 10:35:07 am

I created a custom edit handler to add reCaptcha validation (why we're not just using the reCaptcha extension is a subject for a different thread) and am a bit mystified by something: When you click the ezoe's button to enable or disable the editor, the form submits but the standard validation does not occur while my custom validation routine does. I have not yet been able to figure out how the ez engine knows to skip form processing. 1) How does that work? and 2) is there something I can hook into in my custom edit handler so the captcha validation does not execute when you're just toggling the editor mode?

David Wirth

Wednesday 26 May 2010 10:54:45 am

Gah, never mind. I should have known I would figure it out five minutes after posting this. I added a test for $module->isCurrentAction( 'Publish' ) to my custom validator. On to the next mystery...