Feedback Print

User HTML

This option is available in the Control application if the item Set the template HTML manually template is selected when creating the application.

Define the User HTML

To use the custom HTML in Control, depends on specific Markups so that the Scriptcase can include its control and validation routines.

User HTML General Overview

Check

Check item information

Clicking the Check button, it verifies the structure to confirm which Markups were used in the content of the HTML.

Modal user HTML variables

When clicking on the Markups of the Check item, a modal window is displayed with tips for using the same Markup.

  • The Markups are divided in 3 different categories:

    • TIPS

    Tips of the item "Check"

    These Markups are not required, however, they are used to import files from libraries, images and other features.

    • REQUIRED

    Tips of the item "Check"

    These Markups are of obligatory use in the item HTML. If they are not used, certain internal Scriptcase routines will not be executed.

    • Optional

    Tips of the item "Check"

    Like the category name, these Markups are optional, not influencing the correct execution of the application.

HTML

Editing the HTML

In this item, we can insert the desired HTML, remembering to use the required Markups.

The control.js and control.css files refer to the contents of the JavaScript and CSS items respectively. By default, they are automatically created by the application, by default: appName.js and appName.css.

CSS

Editing the CSS

In this item, we can use our custom CSS to take effect in the HTML code used in the previous item.

JavaScript

Editing the JavaScript

In this item, we can use our custom JavaScript to take effect in the code HTML used in the previous item.

External Libraries

In this option, we can define if we will use the files . HTML, . CSS and . JS from an external library or if we will use the code HTML, CSS and JavaScript of the items of the application itself.

  • Do not use external library

    Editing the HTML This option defines that the HTML, CSS, and JavaScript code to be used, come from the current application’s HTML, CSS, and JavaScript items.

  • Use external library

    Editing the HTML

    When selecting this option, we define the use of external libraries that contain the HTMl, CSS and JavaScript to be used by the application. The HTML, CSS and JavaScript items will be disabled.

Preview

Editing the HTML

You will see how the application will appear after its generation.

Create Fields

Editing the HTML

If you use field Markup before the field is created in the menu item Fields > New Field, and the item (Create Fields) is pressed, a modal window is displayed to synchronize the fields, after confirmation, the fields will be displayed in the Fields menu item.

When adding fields from the menu item Campos> New Field, Scriptcase will automatically insert new mandatory Markups related to the newly created field to be used in the HTML item.

Field Markups