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

Back All Commands All Data Adjustment Commands

INPUT_EDIT

Add a button to the page to invoke an edit area or display the edit area directly on the page.

The Edit 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 edited.

Number Name Default Type Description
1 obj_id COID Integer Object ID to edit
2 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 the 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 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.

or the div id/class to render the edit window in.

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

3 temp_id 0 Integer Edit Template ID
4 disp_text fa-pencil String Display Text
5 class btn btn-light btn-sm noprint String Button Class
6 act_submit -99 Integer
Submit Actions

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
7 act_cancel -99 Integer
Cancel Actions

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 Either "Edit Current Page" or "Edit Item" depending on the object String

Button Title

This will default to "Edit Current Page" or "Edit Item" depending on the object.

- dep_relobj String Dependant Relationship and Object
- add_relobj String Data List of, or single additional Object Relationships sets.
[rel_id:obj_id,rel_id:obj_id:relat_level]
- form_opt SMALL String

Space separated list of Edit options to pass to the input field when using +800 or +900 on the part number.

Options include SMALL, LARGE, READONLY, NOLINK, NOFOCUS, NOEDIT, DIALOG, INLINE, TICKBUT, RELEXP()

- form_id random_string(8) String Form ID.
Use standard alphanumeric characters only, including a dash but don't use space or underscore.
- style String The html styling to apply to the element.
- win_title Edit Item String The title to display on the window when using display type 1.
to add a Comment.