Technical Documentation

Show a record

 
Submit data …
ID 401
Category string
Required no
Element $zz['fields'][n]['display_value']
Description

static value which will be shown in field of type display

Description de
Example
Default value
Mother ID $zz['fields'][n] | [10]
Relation
Updated 27 Jun 2011 11:54:52
IDCategoryReq.Element Action
889stringno$zz['fields'][n]['display_empty'] for display fields: what to display if field has no value

Relations: display

Show
182string: fieldno$zz['fields'][n]['display_field'] Field (from SQL query) to be displayed instead of field value. For foreign IDs in selects or for display fields

Relations: select; write_once; display

Show
830arrayno$zz['fields'][n]['display_title']

Relations: display

Show
401stringno$zz['fields'][n]['display_value'] static value which will be shown in field of type display

Relations: write_once; display

Show
716booleanno$zz['fields'][n]['dont_check_on_update'] Before doing an UPDATE, zzform checks whether old values and new values for a record differ. Timestamps and Fields with `dont_check_on_update` set won't be checked against (useful for author_ids etc.)Show
966booleanno$zz['fields'][n]['dont_copy'] do not copy contents of this field if copying a record

Relations: $zz_conf['copy']

Show
500booleanno$zz['fields'][n]['dont_delete_records'] no [-] field, one may not delete a subrecord

Relations: subtable

Show
748booleanno$zz['fields'][n]['dont_mark_search_string'] true restrains zz_mark_search_string() from marking the HTML in this fields output, e. g. if you want to use it as a parameter for images or so.Show
970booleanno$zz['fields'][n]['dont_require_old_password'] Do not require to enter old password for password change (e. g. if password forgotten-link was followed)

Relations: password_change

Show
424booleanno$zz['fields'][n]['dont_show_file_link'] doesn't show link below upload field which otherwise will be shown if a file already existsShow
191booleanno$zz['fields'][n]['dont_show_image'] doesn't show image in form view (e. g. good for file upload)Show
995booleanno$zz['fields'][n]['dont_show_missing_img'] If set to true and upload is required but missing, do not show '(image missing)' if you don't want to show an upload in public interfaces

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

Show
710booleanno$zz['fields'][n]['dont_show_missing'] If set to true and field value is required but missing, this will not be shown to user (useful if this is a field the user cannot change anyways because the input depends on other input from file upload etc.)Show
849booleanno$zz['fields'][n]['dont_sort'] if set to true, no ordering in this column is allowed; 'id'-columns are set to true by default, if you'd like to order by id, you have to set them to false explicitlyShow
938booleanno$zz['fields'][n]['dont_trim'] if set to true, 'text' fields won't be trimmed

Relations: text

Show
996booleanno$zz['fields'][n]['enum_textinput'] attach a text input to last enum value and save that to database if selected; does not work with fixed enum fields in mySQL of course

Relations: select; $zz['fields'][n]['enum']

Show
397arrayno$zz['fields'][n]['enum_title'] Optional. In case you don't like your ENUM values, you can set an array with different values that will be shown instead the values in the database. Good for translations.

Relations: select; $zz['fields'][n]['enum']

Show
396arrayno$zz['fields'][n]['enum'] list for enum, default value with 'default' should be set as well

Relations: $zz['fields'][n]['show_values_as_list']; select; $zz['fields'][n]['enum']; $zz['fields'][n]['default']

Show
844arrayno$zz['fields'][n]['enum_abbr'] List of abbreviations for enum, in list view, abbreviation will be shown in form view and displayed as abbr-element in list view

Relations: select

Show
969string: HTMLno$zz['fields'][n]['error_msg'] Show individual error message if validation failed instead of generic messageShow

916 records total

in