Function __global->form_input_na
Definitions
sources/form_templates.php
- Used to create a null option for field sets.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $pretty_name | mixed | No | No | required parameter | N/A | N/A | A human intelligible name for this input field, provided in plain-text format (string or Tempcode) |
| $tabindex | ?integer | No | No | Null | N/A | N/A | The tab index (null: none specified) |
Returns
- The field
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Used to create a null option for field sets.
*
* @param mixed $pretty_name A human intelligible name for this input field, provided in plain-text format (string or Tempcode)
* @param ?integer $tabindex The tab index (null: none specified)
* @return Tempcode The field
*/
function form_input_na($pretty_name, ?int $tabindex = null) : object
* Used to create a null option for field sets.
*
* @param mixed $pretty_name A human intelligible name for this input field, provided in plain-text format (string or Tempcode)
* @param ?integer $tabindex The tab index (null: none specified)
* @return Tempcode The field
*/
function form_input_na($pretty_name, ?int $tabindex = null) : object

