drupal_render

Output of drupal_render

  1. <div class="form-item">
  2.  <label>Rol: </label>
  3.  <div class="form-radios"></div>
  4. </div>
  5. <div class="form-item">
  6.  <label>Projectfase: </label>
  7.  <div class="form-checkboxes"></div>
  8. </div>
  9. <div cla

drupal_render form in block

  1.   //Load all associated vocabularies for this content type  
  2.   $vocabularies = taxonomy_get_vocabularies('my_content_type');
  3.   foreach ($vocabularies as $vocabulary) {
  4.     $formid = 'my_special_fil
xurizaemon's picture

drupal_render clearing default_value ... huh?

  1. function augforms_wall_invite_email_form($form_id, &$form_state = NULL) {
  2.   $num_invites = 5 ;
  3.   for ( $i = 0 ; $i < $num_invites ; $i++ ) {
  4.     $row = array() ;
  5.     $form['invite_name_'.$i] = arr
Syndicate content