what are Abort, Output Buffer and Call Action/View use for?

Understand the purpose of Abort, Output Buffer, and Call Action/View in CF.

Overview

These are three distinct actions within CF that control form processing, data capture, and code execution.
Use Abort to stop all further processing. Use Output Buffer to collect all generated output into a variable for use elsewhere. Use Call Action/View to execute an action or view from any page of the form.

Answered
ChronoForms v8
ki kittisak 26 Mar, 2025

Hi Max,

    Could you explain about 3 Actions: Abort, Output Buffer and Call Action/View?

What are they doing? and How to set them up? 

Best regards,

Kittisak

Max_admin Max_admin 26 Mar, 2025
Answer

Hi Kittisak

Abort: Stop further processing, any coming actions/views will not be processed

Output buffer: All output inside the will be collected and returned as a variable: {var:output_buffer_name}

Call Action/View: this will run any action or view from any page in the form, so you can be in page 1 but call a PHP action stored in page 5 for example

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ki kittisak 27 Mar, 2025

Hi, Max

  Thank you for your reply. For Output buffer: it will collect all out put you mean just PHP output only or another view/action also. 

If it contain more than one output, how to call them?

Regards,

Kittisak

Max_admin Max_admin 27 Mar, 2025
1 Likes

All output, if you had HTML and PHP echo or whatever, it will all be collected and saved in the {var:output_buffer_name}

this is useful if you need to get views or actions output in the Email or PDF for example

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.