Evolutility.org 4.1
 

field element

The elements field represent fields on the screen, and database columns at once. It is the most used element and the element with the most attributes. Database columns hidden to the user (like the primary key of the driving table) are not declared.


 

cssclass
CSS class name for the specific field (in Edit mode). The default value is "Field".

cssclasslabel
CSS class name for the specific field label (in modes Edit and View). The default value is "FieldLabel".

cssclassview
CSS class name for the specific field (in View mode). The default value is "Field".

dbcolumn
Database column (SQL name) for the field. 

dbcolumnimg
Database column (SQL name) containing the filename of the image to display.

dbcolumnpix
Database column (SQL name) containing the image filename.

dbcolumnread
Database column alias. Only useful for field of type LOV, otherwise dbcolumnread must be the same as dbcolumn for the field.

dbcolumnreadlov
Column to show as value in lists. Default value is "name".

dborderlov
Column (or coma separated list) to sort the LOV by (SQL where clause).

dbtablelov
Database table with the list of values. 

dbwherelov
Extra where clause to limit the list of value.

defaultvalue
Default value for the field displayed while creating a new record (only for LOV fields).

dependency
Allows to specify a "slave dropdown" (dependent dropdown identified by its "dbcolumn") which will dynamically updates it's list of value when the users selects a different value int the master-field.
More information about dependent fields.

format
Field format (for fields of type boolean, date, decimal, or integer).
Example: format="'$'#,##0.00"

height
Height of the field, in number of rows (default to 1 for all field except fields of type TextMultilines). 

help
Help for the field (in Edit mode). 

img
Image to display (for fields of type "boolean" or "url") in Edit or View modes.

imglist
Image to display (for fields of type "boolean" or "url") in List mode.

jsvalidation
Allows to specify the name of a Javascript method for custom validation.
More information about fields validation.

jsdependency
Allows to specify the name of a Javascript method called when the user select a field value (using the "onclick" event).
More information about dependent fields.

label
Field title. Can be empty but then labeledit and labellist should be provided.

labeledit
used for edition and search (only used when label is empty).

labellist
Field title in list headers, useful to display an abbreviated header in lists.

link
Force the field to be displayed as a link to another dynamic page. It can use the following variables @itemid, @userid, @fieldid.

linklabel
Display a sentence or an image as the link. @fieldvalue in the string is replaced by the field value at runtime. 

linktarget
Direct link click to a new browser. 

lookup
Automatically set the field value in edit mode to a specified page request parameter. 

max
Maximum value allowed for the field.

maxlength
Maximum number of characters allowed for the field.

min
Minimum value allowed for the field.

optional
Determines if the field is displayed when empty (apply to View mode only).

readonly
readonly=1 presents edition of the field. readonly=2 presents edition of the field, but allows typing in insertion. 

regexp
Regular expression used for validating the field value. 

required
Determines if the field is required for saving. The Javascript for client-side validation is automatically generated. 

search
Determines if the field appear in the search form.

searchadv
Determines if the field appear in the advanced search form.

searchlist
Determines if the field appears as a column of the search results list.

splistlov
Stored Procedure name (with parameters and @itemid, @fieldid, @userid assigned by the control) for listing LOV values when lovmany.

type
The type of the field as described in more details in field types. Possible values are:

  • boolean (yes/no)
  • date
  • datetime
  • decimal
  • document
  • email
  • formula (SQL formula)
  • html (Rich Text Format)
  • image
  • integer
  • lov (list of values)
  • text
  • textmultiline
  • time
  • url

width
Width of the field in percentage of the Panel it belongs to.