Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does the processing of a popup form actually work?

actually form popup
0
10 Posted

How does the processing of a popup form actually work?

0
10

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123