User Tools

Site Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
helper_field_text [2018/08/28 23:17] – [Parameter Description] Traumflughelper_field_text [2019/02/22 18:40] (current) – [Parameter Description] thirty bees learned cast 'priceval'. Traumflug
Line 57: Line 57:
 == 'value' == == 'value' ==
 Set HTML input value to this value. Requires //'auto_value'// to be set to //false//. Defaults to an empty string. Set HTML input value to this value. Requires //'auto_value'// to be set to //false//. Defaults to an empty string.
 +
 +Notably, as Option Fields are usually set in the class constructor, this value gets set before default procedures had a chance to process the incoming request. Accordingly, setting a value here should parse the request as needed while doing so. Else the shown value is always one version behind.
  
 == 'no_escape' == == 'no_escape' ==
Line 71: Line 73:
  
 == 'class' == == 'class' ==
-CSS class added to the HTML input and the DIV surrounding it. Optional.+CSS class added to the HTML input. Optional.
  
 == 'size' == == 'size' ==
Line 86: Line 88:
  
 == 'cast' == == 'cast' ==
-Name of a PHP casting function to convert the submitted value with. Can be //boolval//, //floatval// or //intval//. Default is to store a string.+Name of a PHP casting function to convert the submitted value with. Can be //boolval//, //floatval//, //priceval// or //intval//. Default is to store a string.
  
 == 'validation' == == 'validation' ==
helper_field_text.1535491062.txt.gz · Last modified: 2018/08/28 23:17 by Traumflug