Line 4: Line 4:
  
 
Allowing people to do additional actions with the information submitted by the Form.
 
Allowing people to do additional actions with the information submitted by the Form.
 +
{| class="wikitable"
 +
|+
 +
! colspan="2" |BeforeCreateEchoEvent
 +
|-
 +
| colspan="2" |Available since version 1.1.14
 +
|-
 +
| colspan="2" |Allows final actions on form values before output
 +
|-
 +
|function
 +
|public static function onFFAfterFormHandling( $formFields, &$responseHandler ) { ... }
 +
|-
 +
|hook
 +
|$wgHooks['FFAfterFormHandling'][] = 'MyExtensionHooks::onFFAfterFormHandling';
 +
|-
 +
|called from
 +
|FlexForm/src/Processors/Request/External.php. Method: runHook
 +
|}

Revision as of 14:39, 24 May 2022

FFAfterFormHandling hook

When FlexForm is finished processing a submit form and just before it will set notification and return to the user, this Hook will run.

Allowing people to do additional actions with the information submitted by the Form.

BeforeCreateEchoEvent
Available since version 1.1.14
Allows final actions on form values before output
function public static function onFFAfterFormHandling( $formFields, &$responseHandler ) { ... }
hook $wgHooks['FFAfterFormHandling'][] = 'MyExtensionHooks::onFFAfterFormHandling';
called from FlexForm/src/Processors/Request/External.php. Method: runHook

ws-page-props