Projet

Général

Profil

Révision db2d93dd

Ajouté par Benjamin Luce il y a presque 9 ans

Update to 7.37

Voir les différences:

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).

Formats disponibles : Unified diff