'); drupal_add_js($path . '/lib/wforms.js'); // The customization file includes fixes to make wForms compatible // with drupal js. drupal_add_js($path . '/customization.js'); } /** * Declare wforms form element types and specify their default values. * * @return * An array of element types */ function hook_elements() { $types = array(); $types['wformspage'] = array(); return $types; } /** * Format a page of a wform. * * @param $element * An associative array containing the properties of the element. * @return * A themed HTML string representing the form page. */ function theme_wformspage($element) { static $count = 0; $count++; return '