Skip to main content

Home/ Drupal for Developers/ Group items tagged fapi

Rss Feed Group items tagged

Daniel Gregoire

Handling File Uploads | drupal.org - 1 views

  •  
    Extra coding needed to handle file uploads outside of FAPI definitions.
Scott Blackburn

Howto: Theme Drupal forms with PHPTemplate | PC Tips - 0 views

  •  
    With the introduction of the Forms API (FAPI) in Drupal 4.7, module authors got a new, shiny, but above all, powerful tool to generate and validate advanced forms. For some it's such a big leap from Drupal 4.6 that they still feel a bit lost.
Daniel Gregoire

AJAX-ifying Drupal Node Forms | Stella's Website - 8 views

  •  
    Another tutorial on adding AJAX to Drupal 6 forms with FAPI. Based on poll.module like others. This process is not as straightforward as some, which is why it has been improved upon in D7.
Daniel Gregoire

forms_api_reference.html | Drupal API - 0 views

  •  
    Drupal 6 Form API Reference
Daniel Gregoire

file_save_upload problem saving into destination folder | drupal.org - 0 views

  •  
    Simple, clean example of adding a file field and saving the file permanently.
Daniel Gregoire

Wrapper ID (form-item) not displayed for Checkboxes / Radio Buttons CCK Fields | drupal... - 1 views

  •   if (!empty($element['#id'])) {    $output .= ' id="'. $element['#id'] .'-wrapper"';  }  else { // if we can't get the #id from $element['#id'] just build it from $element['#name']    $id=explode("[value]", $element['#name']);    $output .= ' id="'. $id[0] .'-wrapper"';  }
  •  
    Small fix for giving radio/checkbox form elements a proper ID on their wrapper. By default in 6.16 and CCK, no proper CSS ID is given to the wrappers of radio buttons and checkboxes, making it impossible to theme the layout of those elements in the form (specifically for me, the node edit forms).
1 - 7 of 7
Showing 20 items per page