drupal adding onchange event to node form
- by Arun
hi i need to know how to add attribute onchange to a custom content_type field?
For ex my content_type has 2 fields phone (name:field_phone[0][value], id:edit-field-phone-0-value),email (name:field_email[0][value], id:edit-field-email-0-value). i'm unable to add attribute as follows.
function knpevents_form_event_node_form_alter(&$form,…