| 1 |
<?php |
<?php |
| 2 |
|
|
| 3 |
// $Id: multipage_form_example.module,v 1.3 2006/03/30 01:54:00 drumm Exp $ |
// $Id: multipage_form_example.module,v 1.4 2006/03/30 04:21:56 drumm Exp $ |
| 4 |
|
|
| 5 |
/** |
/** |
| 6 |
* Implementation of hook_help(). |
* Implementation of hook_help(). |
| 368 |
} |
} |
| 369 |
|
|
| 370 |
/** |
/** |
| 371 |
* A little helper function to hide the child elements of 'radios'. |
* Set an element's visibility. Elements are gnerally changed to hidden |
| 372 |
|
* elements. Visibility may be set and reset any number of times. |
| 373 |
|
* |
| 374 |
|
* @param $element |
| 375 |
|
* The form element array to modify. |
| 376 |
|
* @param $visible |
| 377 |
|
* The desired visibity of the form element. |
| 378 |
*/ |
*/ |
| 379 |
function multipage_form_set_element_visibility(&$element, $visible) { |
function multipage_form_set_element_visibility(&$element, $visible) { |
| 380 |
multipage_form_restore_attributes($element); |
multipage_form_restore_attributes($element); |