[SOLVED - Custom Action if nothing to do with Bricks Forge it is called by Bricks Builder ]
Reading the documentation I’m not clear about the workflow when using the Custom Action.
It seems to me that coding the ‘function my_form_custom_action( $form ) { …’ hook, I do some basic processing, validation etc, then it calls my function as part of the
$form->set_result([
‘action’ => ‘my_custom_action’,
where I replace ‘my_custom_action’ with my function.
Have I got this workflow correct?
Do I pass my function form fields, and on return, do I display my results via the form, or in the page the form resides?
Many thanks