Feature Rich
Rapid Application Development
Helping you or your customers
Manage their Business

All Commands All Data Adjustment
Commands

INPUT_NEW

Add a button to the page to invoke an edit area for a new object or place the edit area directly on the page.

The New Object Button will only be displayed if the person who is logged in has a security level that is equals to or higher than the security level that has been set for the object being added.

Number Name Default Type Description
1 par_id 0 Integer Parent ID for new object
2 obj_type 0 Integer Object type for new object
3 disp_type 0 String

Display type declares the way in which the object will be presented or displayed.

This can either be a number which a preconfigured outcome or you can use a div id (#div) or class name (.class) to open the object into.

By Number
No. Displays Into Description
0 Window This will render the edit area in a new blank window.
1 Modal This will render the edit area in a new Modal Window.
2 Div Do not use 2, enter a div id (#div) or a class name (.class) of the div to open the object into.
3 Page This will render the edit area in the main page area replacing whatever is there.
4 In-Line This will render the edit area at the position of the command.
5 List This will render the edit area in place of the current List. Should only be used as part of a list template.

plus optional;width(300, 400, 600, 750, 900):height for types 0&1. e.g 1;600:500

4 temp_id 0 Integer Edit Template ID
5 disp_text fa-plus String Display Text
6 class btn btn-primary btn-sm noprint String Button Class
7 act_submit -99 Integer
Submit Action

Use one of the following parameters to decide what happens after the related action has been triggered.

  • -0 Do nothing
  • -1 Go to the page being created or edited
  • -2 Refresh the entire page
  • -3 Reload edit area
  • -4 Hide the div element
  • -5 Refresh the List (Use in a list template)
  • -6 Close the Modal Window
  • -7 Slide up Element
  • -8 Refresh List Sort
  • -9 Run Report
  • -10 Contract the Edit area and expand the new object after.
  • -11 Select the new Item (Use in a selection list template)
  • -12 Select the new item and close the List (Use in a selection list template)
  • -16 Trigger a UDB_Event
  • -81 Update Object Selector with Single Description
  • -99 for auto (DEFAULT)
  • Additional Information
8 act_cancel -99 Integer
Cancel Action

Use one of the following parameters to decide what happens after the related action has been triggered.

  • -0 Do nothing
  • -1 Go to the page being created or edited
  • -2 Refresh the entire page
  • -3 Reload edit area
  • -4 Hide the div element
  • -5 Refresh the List (Use in a list template)
  • -6 Close the Modal Window
  • -7 Slide up Element
  • -8 Refresh List Sort
  • -9 Run Report
  • -10 Contract the Edit area and expand the new object after.
  • -11 Select the new Item (Use in a selection list template)
  • -12 Select the new item and close the List (Use in a selection list template)
  • -16 Trigger a UDB_Event
  • -81 Update Object Selector with Single Description
  • -99 for auto (DEFAULT)
  • Additional Information
- title New Item String The text to display when the pointer hovers over the button.
- dep_relobj String

Dependant Relationship and Object. rel_id:obj_id

Use A, X or Y for direct relationships.

- add_relobj String

Data List of, or single additional Object Relationships sets.
[rel_id:obj_id,rel_id:obj_id:relat_level]

- edit_opt SMALL String Form Options

LIVE_LINK - Set the relationships on the form to Update Live
NOFOCUS - Prevent Auto Focus on form
SMALL - Small Form Control Size
MEDIUM - Medium Control Size
LARGE - Large Control Size
NOTE - Tell the Comment Template to display as Note instead of Comment
- form_id 8 character random string String Form ID
- style String Button Style
- win_title New Item String The title to display on the window when using display type 1.
to add a Comment.