I am finding an issue when validating a CiviCRM form, specifically a Payment Page, in Live mode, that it is not executing the hook/function civicrm_validateForm(), which has been implemented to add additional validations to the core CiviCRM validations. Nevertheless, when I test the form in test-drive mode, the additional validations are executed.

I have seen the html page source of the Live Payment Page and the javascript function crmValidate() is there.

Any tip on why this is happening this would be much appreciated.

  • Which form you want to call the validateform on? Commented May 21 at 12:13
  • CRM_Contribute_Form_Contribution_Main Commented May 23 at 9:24


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.