Community

getting error call to undefined function webform_component_edit_form_validate in ctools popup drupal 7

I am using webform module for creating form. I required not to customize webform_component_edit_form. so I have alter webform_component_edit_form. In this form alter i add select element with #ajax property. This is working fine when i open this in url. But when i open this form in ctools i am getting error

<?php
Call to undefined
function webform_component_edit_form_validate() in ../includes/form.inc
?>

webform_component_edit_form_validate i written in webform/incluedes/webform.components.inc

any one can suggest me where i am doing mistake.