Skip to end of metadata
Go to start of metadata

Editors

Description

Icon

Editors are used to determine how should columns behave in forms, queries, and in the displays. There are three type of editors:

  1. Form Editors
  2. Query Editors
  3. Display Editors

Editors can be seen as functional definitions for your application. Try to define these editors properly depending on your purposes, to sophisticate and make clear -its target- your application. Before going detail about each editor type, use this help page to get general informations about editors.

Content

Icon

 

Common Properties

Depending on which type of editor selected and depending on which type of action is defined, parameters to be filled will be different. For example if you select link display editor then you'll see parameters to define this type of editor etc. Group is common property for all three editors, while script options and validation properties are common in form and query editors.

 

 

Group Properties

Group :

Specifies how the field appears on the query page

  • Active : Indicates that property to include the field in a group is active.
  • Target Field :  Speciffies where the field will be displayed on the page.
    • Top : Indicates that the it will be located at the top.
    • Left : Indicates that the it will be located on the left.
    • Right : Indicates that the it will be located on the right.
    • Bottom :Indicates that it will be located at the bottom.
    • Action : Indicates that the field will be located in the fields for links and buttons under the form.

 

  • Text :Header of grouped field.
  • Image : Icon for the grouped field header.

  • Type : Determines how labels and icons are displayed for grouping
    • Text : Indicates that only the text is displayed in the grouped field.
    • Image : Indicates that only the icon is displayed in the grouped field.
    • Both : Indicates that icons and text appear side-by-side in the grouped field

 

Control Properties Object

 

  • CSS Class Name : Shows the CSS class name of the field.

  • Max Length : Specifies the MaxLength property of the corresponding web control. For example, the maximum number of characters that can be entered for the textbox.

  • Read Only : Indicates that the field will be used in read mode only.

 

 

 

Validation

 

  • Invalid Expression Error Message : Contains a message to display when written text is matched with the Invalid expression.
  • Invalid Message
  • Invalid Text: Test Regex for invalidity
  • Invalidation Expression :
  • Valid Text: Test Regex for validity
  • Validation Expression : Regex validation. Click on [...] button to see examples and their regex formats:

 

  • Active: Shows that validation is active or not.
  • Allows Null: Use it, to allow that the field does not have to be filled.
  • Custom Validation Message: Type your custom regex.
  • Custom Validation Script:
  • Error Message: Contains a message to display when writing text that does not conform to the Validationt.
  • Maximum Value
  • Minimum Value
  • Range Error Message

 

 

 

 Script Options:

  • Active: When this property is marked, if the editor has a client name, the client object,  e.g. islandname, is created on the client side

  • Change Script: For the case that editor's value is changed, javascript function should be written here. For example if the name of the island name is changed, and you want to change its description field too, you should use this feature.

 

Note that although the editor checks for spelling mistakes, the spelling mistakes to be made in this section may cause the form not to work correctly.

 If you enable show as text and than changes to the field displayed as plain text can be reflected in the formatted field with the "Apply changes" option. Then click on "OK" to save the chnages.

 

  • Client Name: The name of the editor's client-side instance must be entered in this section. The name entered must match the Javascript object naming convention. Access to the editor by the client will be by this name. For example, if 'islandname' is written here then on the client side the properties of the editor can be accessed with islandnameGetValue (), islandname.SetValue ()
    • GetValue method: It gives the value that the editor sees on the page.
    • SetValue method: Changes the editor value on the client side. It takes the value to be assigned as parameter. For example, for islandNAME object which its editor is text box, using the JavaScript expression- islandname.SetValue ('Ireland')- ;the value of the text box changes to "Ireland".
    • SetEnabled method: It allows the editor to be activated / deactivated on the client side. Takes true/false parameter. e.g. islandname.SetEnabled(false) passify the islandname editor thus data entry cannot be done on the client side.
    • Path: This property gives object's path that is in the meta.
    • jqueryObj method: Gives the editor's selected format with jquery selector.Instead of using an expression such as $ ("# pnlDefault_pnlQ_querySimpleForm_F_1635391836__ntb") use islandname.JqueryObj . All the basic jQuery methods can be used e.g. islandname.Jqueryobj.hide(); islandname.Jqueryobj.show() etc.