How does the processing of a popup form actually work?
Whenever a popup button is pressed the following processing takes place: • When the script receives the $_POST array it is merged with the current data within the object. The amended object is then saved in the $_SESSION array so that all data, saved or unsaved, can be displayed back to the user. This ensures that no unsaved data is lost and has to be re-entered. • The script then examines the $_POST array looking for a field name which begins with task#. This tells it that either a popup button or navigation button has been pressed. The characters which follow task# provide the identity of the task which is to be run. • The task details are retrieved from the TASK table within the RBAC system, and the value for PATTERN_ID identifies whether the task is a popup or not. If it is a popup then custom method _cm_popupCall() is called in order to perform any pre-processing. This includes defining a $where string to be passed to the popup form, and defining any settings which can be passed t
Related Questions
- Should the total expenditures in line 2C(2) on the PCR form represent only payments actually made for project goods and services or should it also include unliquidated encumbrances?
- What happens if I properly complete a Form I-9 and INS discovers that my employee is not actually authorized to work?
- How does the processing of a popup form actually work?