Function __global->form_input_hidden

Definitions

sources/templates.php

  • Get the Tempcode for a hidden form element.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$name ID_TEXT No No required parameter N/A N/A The name which this input field is for
$value mixed No No required parameter N/A N/A The value for this input field, provided in plain-text format (string or Tempcode)

Returns

  • The input field
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the Tempcode for a hidden form element.
 *
 * @param  ID_TEXT $name The name which this input field is for
 * @param  mixed $value The value for this input field, provided in plain-text format (string or Tempcode)
 * @return Tempcode The input field
 */

function form_input_hidden(string $name, $value) : object