Dividing fields into blocks

Dividing fields into blocks

In a block we can separate in a previously organized way the fields that belong to the Form. In this style of organization, we can create several blocks and give the Form a more flexible and pleasant layout for the end user.

For you to create a block just click on Blocks as shown in the image below.




After clicking on Blocks, the screen below will be displayed. As a default, there is already a block that was created along with the Form. This block is called initially with the same name as the created application, but we can modify it by changing the name of the block. To create new Blocks we must click on the Create New Block button, as shown in the selection in the figure below.





After clicking Create New Block you will be asked to choose a name for the New Block. To customize the layout of the Form, we can edit some properties of the Block. After making all the necessary edits, we click on the save button to apply the Block configuration that we just created.




After clicking save, two blocks will be displayed instead of just one (Figure Below).



Now we click on the Fields Positioning item, to choose which fields will be part of each block.



In this screen you can see that the Blocks are more to the left, and the fields that belong to the Block are below it and a little more to the right. In this case we have releaseId, companyid, deptid, accountid and valuerelease being part of the first Block and the remaining fields being part of the second Block.

See how the Form was after the creation of new_block.



As you can see, the Blocks can give the Form a more pleasant View in addition to helping the end user to better understand the application.
    • Related Articles

    • Defining extensions for upload type fields

      In ScriptCase, when we define a field as upload type in a Form, it is extremely important to define the Extensions allowed for this field. This setting makes these fields accept only as installation in the configuration, prevented or uploading ...
    • Hide certain fields in a Grid by means of various conditions

      When you need to hide fields through various conditions within the Grid, we can do it through a query. The first thing we are going to do is a query and we will store it inside a variable. Then we use the macro sc_lookup. After using said macro, we ...
    • Macro sc_block_display

      In this example, we will see how to use the sc_block_display macro in an Ajax event using a Radio button on a Form, this macro is intended to hide or show a block. The steps in this example: Configuring Radio type field Configuring and creating ...
    • Creating a Field grouping

      See how to create groups of fields in a simple way in the query application. 1. In a grid application, access the Fields menu and click New field. 2. Set the quantity and click Continue. In this case we only need one field. 3. On the field inclusion ...
    • Field with Validation Image

      In this example we’ll show how make a validation with the “Image validation” active. 1 - Create a Control Application. 2 - Create a couple of fields Note that one of the fields is an E-mail type, and will be used to validate 3 - Setup the field for ...