Body: <p>I am finding an issue when validating a CiviCRM form, specifically a <strong>Payment Page</strong>, in Live mode, that it is not executing the hook/function <em><strong>civicrm_validateForm()</strong></em>, 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.</p>
  <p>I have seen the html page source of the Live Payment Page and the javascript function <em><strong>crmValidate()</strong></em> is there.</p>
  <p>Any tip on why this is happening this would be much appreciated.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-05-21T12:13:40.417Z
Comments.Text: Which form you want to call the validateform on?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-05-23T09:24:24.873Z
Comments.Text: CRM_Contribute_Form_Contribution_Main
Comments.UserDisplayName: Cristina P.
Tags: <civicontribute><contribution-page>
Title: Hook civicrm_validateForm not being executed in Live Payment Page
ThreadText: # Hook civicrm_validateForm not being executed in Live Payment Page
  
  (Asked by: username_0 on 2024-05-21)
  
  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.
  
  **Tags:** civicontribute, contribution-page
  
  > **Comments:**
  > **username_1**: Which form you want to call the validateform on?  
  > **username_0**: CRM_Contribute_Form_Contribution_Main  
  
  ---
  
  ## 0 answers
  
  