5.3.33 Events
This topic describes about the events.
Events tab needs to be input if the field type is BUTTON.
Event Name: A pre-defined java script event can be attached to the field and same can be selected. Usually, onclick event is selected.
Function Name: A function name should be mentioned for event, same function should be maintained in the function id java script or in the infra java script files. This function will be invoked on the event mentioned earlier on the field.
Call Form Name: If the button is of Call form/Launch form type, the name of the call form/launch form which has to be launched should be mentioned here. All the attached call forms .Launch forms which are active will appear in the Select List.
Note:
Function Name needs to be mentioned only if event type is either NORMAL or SUBFUNCTION.Event Type:
Event Type can be- Call form: If on click of the button a call form has to be launched
- Launch form: If on click of the button a launch form has to be launched
- Sub screen: If on click of the button a Sub Screen has to be launched
- Normal: if on click of the button, a JavaScript function has to be invoked which is mentioned in Function Name field. Normal buttons have to be placed in a field set for them to appear in the screen.
- Sub Function: This is used in Process Flow screens to invoke sub functions.
- Button Screen: it specifies in which screen button is to be placed. This is not required for Normal buttons
Screen Name: For Sub Screen, call form, Launch Form type buttons; this field specified the name of the screen which will be launched.
Figure 5-21 Event Type
Parent topic: Item Type