Field

Fields are probably the most used object in Zymonic - as such, there are several classes of field. This page explains those classes.

=Classes=

SubFilter
These allow you to place a filter within a form.  ts_f_purchasehistory Purchase History false   ts_fil_purchaserecords   ts_fm_purchasehistory  </ClassOptions> <FieldGroup> ts_fg_purchasehistory</ZName> </FieldGroup> </Field>

LinkedField
These allow you to extract data from selected fields in another table by a common field. <Field sequence="100" class="LinkedField"> ts_f_customerphone_linked</ZName> <SQLFieldType>varchar</SQLFieldType> <Base>ts_f_customerid</Base> <ReadOnly>true</ReadOnly> <FieldGroup> ts_fg_customeraccount</ZName> </FieldGroup> <LinkedField>  ts_fil_customeraccounts</ZName> </Filter> <SourceField> <Field> ts_f_customerid</ZName> </Field> </SourceField> <DisplayField> <Field> ts_f_customerphone</ZName> </Field> </DisplayField> </LinkedField> </Field>

CurrentState
Displays the current state of a record. <Field sequence="100" class="CurrentState"> ts_f_currentstate</ZName> Current State </DisplayName> <ClassOptions> <HideState>ts_s_createnew</HideState> </ClassOptions> </Field>

MultipleChoice
Displays a multiple choice list box. The current state field class uses this, but defines it in Zymonic core to allow for easy usage.

MultipleChoiceLinkedField
Displays a list, similar to a linked field, however you can select more than one value.

SubForm
Displays a form within a form. Very useful when wanting to make an undefined number of records on one page that are editable without opening a separate process.

HTML
Displays a large text box with advanced formatting options - can also type the HTML source code directly. Useful for large lumps of text, however restrictions are set and characters have to be 'allowed' to use them, defined in the XML.

Choice
Displays a drop down menu to select a single value from.