Intro

Searchbox

You can build up a relation from the input field to another datadefinition (table or object). A searchbox will open in an overlay. You can filter the data. By clicking on the line, the data is entered in the form. If you define a field-list, all form elements of the field-list are filled out.

Controls and events

  • magnifying glass:
    opens the searchbox
  • x
    deletes the data
  • displaycolumn=searchcolumn1, onChange:
    found 1 record: ok
    otherwise: opens the searchbox
    „?“ search in searchcolumn2
  • searchcolumn2
    found 1 record: ok
    otherwise: opens the searchbox

Introduction

Source: setzen der Searchbox parameter!

  • new file: datadefID_k8form_customer
  • datadefinition:
    • settingsaditional:
    • k8form.fields: fieldwraptemplate="customer"
    • sql_statement or sql_derived, JOIN to er_customer

k8-CSS

k8-flex-table

Bootstrap Input Basics

  • label and input height: 34px
  • input padding: 6px 12px
  • label .control-label padding-top: 7px
  • font-size: 14px;
  • distance between lines: margin-bottom: 15px

k8-table Basics

  • label and input height: 34px
  • input padding: 6px 6px
  • label k8-label-table, padding: 7px 6px
  • font-size: 14px;
  • distance between lines: margin-bottom: 0px

horizontal Lines are made with:

  • k8-border (all 4 sides)
  • k8-border-top
  • k8-border-right
  • k8-border-bottom
  • k8-border-left
  • k8-border-u (3 sides)
  • k8-border-n (3 sides)

vertical Lines are made with:

  • .k8-flex-table-head > div

Example contacts

For table formatting "k8-flex-table" is used, its based on "display:flex".

Contacts

My footline

HTML

CSS