Revision db2d93dd
Added by Benjamin Luce over 9 years ago
drupal7/includes/form.inc | ||
---|---|---|
2662 | 2662 |
* - #required: (optional) Whether the user needs to select an option (TRUE) |
2663 | 2663 |
* or not (FALSE). Defaults to FALSE. |
2664 | 2664 |
* - #empty_option: (optional) The label to show for the first default option. |
2665 |
* By default, the label is automatically set to "- Please select -" for a
|
|
2666 |
* required field and "- None -" for an optional field.
|
|
2665 |
* By default, the label is automatically set to "- Select -" for a required
|
|
2666 |
* field and "- None -" for an optional field. |
|
2667 | 2667 |
* - #empty_value: (optional) The value for the first default option, which is |
2668 | 2668 |
* used to determine whether the user submitted a value or not. |
2669 | 2669 |
* - If #required is TRUE, this defaults to '' (an empty string). |
Also available in: Unified diff
Update to 7.37