form attributes target blank drupal 7
How to set form attribute to blank in drupal 7.
$form['#attributes']['target'] = '_blank';
Solution:
https://www.drupal.org/node/106437
How to set form attribute to blank in drupal 7.
$form['attributes'] = array('target' => '_top'); $form['#attributes']['target'] = '_blank';
Solution:
https://www.drupal.org/node/106437
No comments:
Post a Comment