Function __global->_get_autocomplete_attribute_value

Definitions

sources/form_templates.php

  • Gets the autocomplete attribute value for a field.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$name ID_TEXT required parameter N/A N/A The input field [name] attribute value
$provided_autocomplete ~?mixed required parameter N/A N/A The provided autocomplete value (false: explicitly disable autocomplete) (null: try to find a value for the provided $name, otherwise return null)

Return

  • (null: don't use an autocomplete attribute)
  • Type: ?string
  • Set: N/A
  • Range: N/A