I need to add a "title" attribute in HTML to Drupal's form element. How should I do that using the form API?
Did You tried #attributes property ?
http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html#attributes
I need to add a "title" attribute in HTML to Drupal's form element. How should I do that using the form API?
Did You tried #attributes property ?
http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html#attributes
精彩评论