Feedback Print

Date

General Settings

Date field configuration Interface. Date field configuration Interface.

  • Data Type : Define the type of field for the application. When set to Date, you can inform a date.
  • Label : Defines the title of a field in the application. For example: if the field is defined in the database as cmp_name_client, it will be more clear for the comprehension of the user if the name would be “Client Name”.
  • Watermark : Create a placeholder for the selected field.
  • Initial Value (type) : Allows you to define the initial value for the field when in insert mode. The options are:
    • Defined Value : The field will receive the value from the text field of the defined value option.
    • System Date : The field will receive the current server date.

If you select the System Date, then it is not necessary to inform the Initial Value attribute.

  • Initial Value : You will inform the Defined Value here.

Initial Value Configuration Interface. Initial Value Configuration Interface.

  • Amount of characters : Define the amount of characters allowed for the field.
  • Validation Image : Allows to display an image next to the field when it is being validated.
  • Save Variable : Allows to save a variable in the session with the value of the field, that can be used in other applications. For example, in the login form the user name can be saved in the session so that it can be displayed on the header of other applications.
  • Variable Name : Allows to define the name for the session variable that will receive the field value.
  • Hidden Field : This option makes the field hidden, but still allows it is value to be processed through Javascript or PHP.
  • Label Field : This options make the field behave as a Read Only field, not allowing modifications to its value while in Insert or Update Mode.

Label Configuration Interface. Label Configuration Interface.

  • Disabled Field : Defines if the field will be disabled in “Insert Mode”, “Update Mode” or in “Insert and Update Mode”.
  • HTML Type : HTML Object that will be used to display the field in the form.
  • SQL Type : Informs the datatype of field in the database.

Values Format

Format of Values with Regional Settings. Format of Values with Regional Settings.

  • Regional Settings : Allows to apply the Regional Settings to format the dates of the field. When not enabled, it will be displayed the date separator attribute.
  • Date separator : Allows you to inform the separator symbol for the date.
  • First Day : Define the first day of the week.
  • Display : Select the format of the day for display.
  • Internal Format : Allows to define the format the field when the SQL type is different from Date. You need to use the characters Y, M and D that correspond to Year, Month and Day.
  • Use Combo-box : Allows you to select the date using a combo-box.
  • Minimum Date :
    • Fixed Date : Inform the minimum date allowed presented in the selected date format.
    • Current Date : Clicking on the icon next to the text field, ScriptCase offers the following options:
      • Actual date : It will place the current date as the max allowed date.
      • Actual date with increment : The minimum date will be the current date (+) the days or months or years that you want to increment.
      • Actual date with decrement : The minimum date will be the current date (-) the days or months or years that you want to decrement.
  • Maximum Date :
    • Fixed Date : Inform the minimum date allowed presented in the selected date format.
    • Current Date : Clicking on the icon next to the text field, ScriptCase offers the following options:
      • Actual date : It will place the current date as the max allowed date.
      • Actual date with increment : The minimum date will be the current date (+) the days or months or years that you want to increment.
      • Actual date with decrement : The minimum date will be the current date (-) the days or months or years that you want to decrement.
  • Display Format : Enables the Date format beside the field when informing the date.
  • Display Calendar : Enables the a calendar icon beside the field, this allows to select the date from a calendar with the format already setup.

Database Value

Allows to define a value to be saved to the database.

Database Values configuration Interface. Database Values configuration Interface.

  • Defined Value : Allows to specify the fixed value associated to global variables.

Defined Value configuration Interface Defined Value configuration Interface.

  • Auto Increment (automatic) : Allows to use the increment generated by the database. Used only when the field of the database is the type AUTO INCREMENT or similar. For the databases that use sequence like Oracle, PostGres and Firebird, it is necessary to inform the name of the sequence.

Auto Increment configuration Interface. Auto Increment configuration Interface.

  • Auto Increment (manual) : The application generated simulates an auto increment on the field. To include a value to the field it will automatically calculate the next id.
  • Date of Insertion : When inserting a record, the field will contain the server date as a value.
  • Data of Update : When updating a record, the value of the field will be the date of the server.
  • User IP : The field will receive the IP of the machine that the application is be accessed by.
  • Calculated by the database : The value of the field will be applied by the database. The field will not be used in update processes. For example: it will be updated by a Trigger.
  • Null : The field will be informed the value null.

Lookup Settings

Method used to place a description next to the field.

Lookup Settings Display for the field.

  • Use lookup to display the field description. : When enabled, the lookup settings is enabled and opens more settings.
  • SQL Command : Defines the SQL command that is going to recover the vales from the database. To build a SQL command, it is possible to use the SQL Builder tool. The SQL format needs to have the following format:

SELECT Field_displayed FROM table WHERE Key_Field = '{Form_Field}'

The Form field needs to be referenced buy the curly brackets {}. While running the application, the field within the curly brackets is replaced by it’s value in the table.

  • Font : Defines the font used to display the lookup.
  • Font Color : Defines the color in HEX for the lookup display.
  • Font Size : Defines the font’s size in the lookup display.
  • EOF Message : Defines a message that will be displayed if there is not any results for the record.
  • Use in validation : When enabled, it will generate an automatic validation based on the lookup, in case there is not any records found, the message will display as a warning (when Updating or Including a record).

Lookup Settings validation Interface.

  • Choose connection : Allows you to select another specific connection existing in the project. The select command will be done on the second connection.

Display Settings

The Display Settings allows to deifne the CSS for the fields individually. For each Display Settings of Scriptcase, exists the same attributes available for this interface.

Display Settings Interface.

  • CSS of the Title
    • Font : Allows to choose the font type, that will be applied to the application field title.
    • Font Size : Allows to choose the the font size, that will be applied to the application field title.
    • Font Color :Allows to choose a color for the font from the color pallete.
    • Background Color : Allows to define the color for the field, the color can be seleted from the color pallete.
    • Bold : Applies the bold style to the font.
    • Underline : Applies the underline style to the font.
    • Border Size : Applies the border size to the title of the field.
    • Border Color : Allows to choose a color for the border, using a color pallete to apply to the title.
    • Horizontal Alignment : Allows to position the label of the field in the desired position (left,rigth,center and justify).
    • Vertical Alignment : Allows to position the label of the field in the desired position (baseline, sub, super, top, text-top, middle, bottom, text-bottom).
    • Width : To define a width for the title of the field.
    • Height : To define a height for the title of the field.
  • CSS of the Field
    • Font : Allows to choose the font type, that will be applied to the application field.
    • Font Size : Allows to choose the the font size, that will be applied to the application field.
    • Font Color :Allows to choose a color for the font from the color pallete.
    • Background Color : Allows to define the color for the field, the color can be seleted from the color pallete.
    • Bold : Applies the bold style to the font.
    • Underline : Applies the underline style to the font.
    • Border Size : Applies the border size to the field.
    • Border Color : Allows to choose a color for the border, using a color pallete to apply to the field.
    • Horizontal Alignment : Allows to position the field in the desired position (left,rigth,center and justify).
    • Vertical Alignment : Allows to position the field in the desired position (baseline, sub, super, top, text-top, middle, bottom, text-bottom).
    • Width : To define a width for the field.
    • Height : To define a height for the field.
  • CSS of the Input Object
    • Font : Allows to choose the font type, that will be applied to the Input Object. For example: Radio, Select, Text, etc
    • Font Size : Allows to choose the the font size, that will be applied to the application field.
    • Font Color :Allows to choose a color for the font from the color pallete.
    • Background Color : Allows to define the color for the Input Object, the color can be seleted from the color pallete.
    • Bold : Applies the bold style to the font.
    • Underline : Applies the underline style to the font.
    • Border Size : Applies the border size to the Input Object.
    • Border Color : Allows to choose a color for the border, using a color pallete to apply to the Input Object.
    • Horizontal Alignment : Allows to position the Input Object in the desired position (left,rigth,center and justify).
    • Vertical Alignment : Allows to position the Input Object in the desired position (baseline, sub, super, top, text-top, middle, bottom, text-bottom).
    • Width : To define a width for the Input Object.
    • Height : To define a height for the Input Object.

Help Settings

Allow the developer to set up instructions and hints about the field’s use, allowing the developer to help the users about the system usage.

Interface de configuração da ajuda.

Description of the settings attributes.

Help Description

In this area, you can set up a text that will be shown in the application according to the type of help selected below.

Help Type


Pop-up - Display a default icon ! beside the field. To display the message just click in the icon that a Pop-up will be displayed with the help text.

Interface de configuração do tipo de exibição da ajuda.


Hint - Display a default icon ! beside the field. When the mouse is above the icon a help text will be displayed.

Interface de configuração do tipo de exibição da ajuda.

The icon displayed when selecting the types Hint or Popup vary according to the theme that is being used in the application. This icon can be modified in the CSS Buttons.


Text - Display a text inside of a <span></span> beside the field.

Interface de configuração do tipo de exibição da ajuda.

Help button position

Allow to set up where the help button will be displayed in the field, there are two options:

Beside: The help icon will be displayed beside the field.
Column: The help icon will be displayed beside the label of the field.