Home

 Product

 Documentation

 Download
     
    
          
 
 
 
  Installation
  Rule
  ERD Generator
  Form Generator
  Form Type Generator
  Form Field Generator

HOT NEWS

Hot News



63066 visitor

 
FORM MODULE
Every Form have two interface generate:
1. View Data: You can view all data, delete, search, selection. order, group by and any for show all data.
2. Form input Data: You can input data, edit data and etc for manipulation data. 
1. Add Module
  Before you add one module you must prepare table that use. For Example:
This is table "tbl_example"


Note: Mandatory for all tables you must add one field "idx" and set Extra "auto_increment", key "Primary" and  type "int(11)".

Click "Add" button from Simple J Gen X interface, typing module name and table name for example:

Module Name:


Table Name:
2. Show Properties Form
  Click "Properties" button from Simple J Gen X interface, for example:



[Properties] Module Form Definition
  1. Module: Module Name [Read Only] [Unique], for 1 table you can make any module. For example "mod_example1"
  2. Table Name: Current Table Name from this Form [Read Only], for example "tbl_example"
  3. Label: Label from Form, for example "Mod example1" and this result example:

  4. Header Table: This options [No, Yes], "No" if this table not main table or "yes" if this table main table but "No" value recommended. This value have impact for Entity Relational Data.  (Under Construction Feature)
  You can click Title "Module From Additional View" for show fields.



[Properties] Module Form Additional View
  1. Group: make group by in the view, you can choice fieldnames from options. For example your choice "field2" and this result:



Note: this is not recommended for Form Type value "Auto Grid".
  2. Sub SQL: You can adding sub query for show view data. For easy query you can click  for show query editor.


and this result:

  You can click Title "Module From Validation" for show fields.


[Properties] Module Form Validation
  1. Form Rule: You can assign code rule for all this module access. Simple J Gen X automatically set default assign code rule and name rule for example "Mod example1" like to module name. See detail about rule.
  2. Mandatory Fields: You can assign mandatory fields for fill form like this format "TableName_FieldName1:Message If Not Entry FieldName1,TableName_FieldName2:Message If Not Entry FieldName2" for example see Module Form Validation picture. And this result:


Tips : For Easy Entry you can click lookup button for show query editor.
  You can click Title "Module From Action and Attribute" for show fields.



[Properties] Module Form Action and Attribute
  1. Add Action : You can assign code rule for Button Action Add New access . Simple J Gen X automatically set default assign code rule and name rule for example "Mod example1" like to module name. See detail about rule.
  2. Edit Action : You can assign code rule for Button Action Edit access . Simple J Gen X automatically set default assign code rule and name rule for example "Mod example1" like to module name. See detail about rule.
  3. Del Action : You can assign code rule for Button Action Delete access. Simple J Gen X automatically set default assign code rule and name rule for example "Mod example1" like to module name. See detail about rule.
  4. Find Action : You can assign code rule for Button Action Find access. Simple J Gen X automatically set default assign code rule and name rule for example "Mod example1" like to module name. See detail about rule.
  5. Per Page: Limited show per page. You can select number in options. For example 10, and this result:
  6. Print Action : You can assign code rule for Button Action Print access. Simple J Gen X automatically set default assign code rule and name rule for example "" like to module name. See detail about rule. (Under Construction Feature)
  7. Per Pages Option: This options [Yes, No]. If you choice Yes then View will be have Options for limited show per pages and if you choice No then View not have options. For example "Yes", and this result:
  8. Form Type: This options [Auto, Auto Form View, Auto Grid, Manual, Semi]. Simple J Gen X automatically set default value "Auto". This is very important for arrange your Form Type or Model that influence your performance FORM and performance customize FORM. See Type Form description.
  9. Form Columns: Make in automatic column at form that made in auto type. For Example:


and this result:
  10. Style Button: Configuration for Style Action Button position Top or Bottom or two show Top and Bottom if not check default Top and Bottom. For example check just bottom and the result:
  11. Primary Key: You can assign Primary Key from Application Validation. Entry with this format FieldName1,FieldName2 like this:

Tips : For Easy Entry you can click lookup button for show query editor.
  12. Interface: Configuration about auto form generate interface. You just check one or any check list for active or inactive configuration.
    + Action Right
      Check this if you want Delete, Edit and other action from View standard form change position to right table. For example:
    + Button New Popup
      Check this if you want New Button action for Popup. This running just for "Auto" Type Form. For Example :
    + No Jump Pages
      Check this if you want hide Jump Pages options from View standard data
    + No Refresh
      Check this if you want hide Button Refresh from View standard data 
  13. Action Pixel Position: Position Button Action if Type Form "Manual"  [Read Only]
3. DELETE MODULE FORM
  Click "DEL" button
 
       
 
 
     
   Junior Software © 2002 - 2008