This example covers how to organize a form using blocks and tabs.
Creating a form with many blocks
1. Create a new simple form application based on the table customers.
2. In the application menu open the Layout folder and click in Blocks.
![](http://scriptcase.net/scriptcase-samples/tutoriais/form/img/form_menu_blocos.png)
3. Change the Name and Label block attribute to General.
![](http://scriptcase.net/scriptcase-samples/tutoriais/form/img/img39.png)
4. Create a new block by click in Create New Block.
5. Enter New Block for the Name and Label attributes..
![](http://scriptcase.net/scriptcase-samples/tutoriais/form/img/img101.png)
6. Create another block and call it One More.
7. Enable the General block attribute Title Display.
![](http://scriptcase.net/scriptcase-samples/tutoriais/form/img/img47.png)
Organizing the fields on the blocks
8. In the application menu choose Fields Positioning
![](http://scriptcase.net/scriptcase-samples/tutoriais/form/img/form_menu_posicionamento_campos.png)
9. Organize the fields according with the table below:
Blocks | Fields |
---|---|
General | CustomerID |
CompanyName | |
ContactName | |
ContactTitle | |
Adress | |
City | |
New Block | StateID |
PostalCode | |
Country | |
Phone | |
Fax | |
One More | CreditLimit |
CardType | |
CardNumber | |
Notes |
Use the CTRL key to select more then one field. To move the fields up and down use the buttons by the field list side (see image bellow).
![](http://scriptcase.net/scriptcase-samples/tutoriais/form/img/img48.png)
Comment this post