Technical Documentation

Show a record

 
Submit data …
ID 432
Category variable
Required no
Element $zz['fields'][n]['default']
Description

default value for field, normally string; for subrecords displayed as 'set' it may be an array as well

Description de
Example
$zz['fields'][31]['default'][] = $website_id;
Default value
Mother ID $zz['fields'][n] | [10]
Relation
Updated 03 Apr 2017 09:36:32
IDCategoryReq.Element Action
361booleanno$zz['fields'][n]['conf_identifier']['lowercase'] Transform all letters to lowercase?Show
880integerno$zz['fields'][n]['conf_identifier']['max_length'] Allows to set a maximum length of characters for each substringShow
470stringno$zz['fields'][n]['conf_identifier']['prefix'] for a prefixShow
891arrayno$zz['fields'][n]['conf_identifier']['replace'] replaces single characters with something else while creating an identifier, might be used to preserve dots

Relations: identifier

Show
362booleanno$zz['fields'][n]['conf_identifier']['slashes'] Preserve slashes?Show
469booleanno$zz['fields'][n]['conf_identifier']['start_always'] says it has always to add exists and startShow
468integerno$zz['fields'][n]['conf_identifier']['start'] start value if record already existsShow
972string: SQLno$zz['fields'][n]['conf_identifier']['unique_with'] field name(s) if field itself is not UNIQUE, just in combination with these other fields

Relations: $zz['fields'][n]['conf_identifier']['where']

Show
363string: SQLno$zz['fields'][n]['conf_identifier']['where'] WHERE-condition to be appended to query that checks existence of identifier in databaseShow
860integerno$zz['fields'][n]['decrease_level'] Decreases numerical value for class name 'leveln' by this value (1 ... n)

Relations: $zz['list']['hierarchy']['display_in']

Show
466booleanno$zz['fields'][n]['def_val_ignore'] this is for subtables only. For 'value', 'auto_value' and 'default'-fields, this setting specifies whether value will be accepted without any other input by the user in this sub-record or not. true: input will be ignored, false (standard): input will not be ignored. important for deciding whether to add or delete a sub-record.

Relations: subtable

Show
278mixedno$zz['fields'][n]['default_image'] in case path leads to no existing image, use this as a default_image (full path only). Might be as well an Array with a path in the standard path styleShow
639booleanno$zz['fields'][n]['default_select_all'] set-fields: all boxes are checked

Relations: select

Show
432variableno$zz['fields'][n]['default'] default value for field, normally string; for subrecords displayed as 'set' it may be an array as wellShow
1008string: fieldno$zz['fields'][n]['dependent_on_add_field'] if this field is dependet on another field with add[field_name]=ID, check the corresponding value with a queryShow
1009string: fieldno$zz['fields'][n]['dependent_on_add_sql'] query to get field value on add

Relations: $zz['fields'][n]['dependent_on_add_field']

Show
428integerno$zz['fields'][n]['detail_key_index'] Show
426integerno$zz['fields'][n]['detail_value'] copies value from other fieldShow
649arrayno$zz['fields'][n]['disabled_ids'] IDs that will be shown as 'disabled' in Dropdown or checkbox list

Relations: select

Show
1000arrayno$zz['fields'][n]['disabled'] List of IDs for radio buttons that are disabled for some reasonShow

916 records total

in