Howto Use PHP Script in Actions

How to use a PHP script in ChronoForms 8 actions.

Overview

The issue was migrating a form with a custom PHP script from CF6 to CF8 and accessing its return values within events.
In CF8, you can retrieve the return value from a PHP action directly within your events using the appropriate get method.

Answered
ChronoForms v8
to torte 19 Jan, 2024
Hello,

I would like to update to Chronoforms8.
I have an old form which I would like to update to Chronoforms 8. Part of this form is a small PHP script.
What do I have to do so that I can evaluate the returnvalues of the script in the events?
Howto Use PHP Script in Actions image 1
Thank you
Max_admin Max_admin 21 Jan, 2024
what do you mean by "What do I have to do so that I can evaluate the returnvalues of the script in the events?" ?

you can get the PHP return value using $this->get("php_action_name")
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin Max_admin 25 Jan, 2024
i'm glad you solved it quickly🙂
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.