Forums

PHP section disappeared

touretteroma 21 Apr, 2019
Dear all,
I a previous version I created a simple form with no components... just a PHP code to be executed at load event.
In the latest version, the PHP code section is disappeared!
I executed form, and my PHP code was executed successfully.

I backuped and restored form, but the PHP code is not longer available.
Anyway, if you open attached backup using Notepad++, you can see my PHP code.

Why the backup contains the PHP code, but no PHP code section is longer shown in form actions?[file=12109]TEST_PHP_21_Apr_2019_20_01_07.cf6bak[/file]

Regards
touretteroma 21 Apr, 2019
Please, open backup using Notepad++ or vi :you can see my PHP code, but no PHP section is shown when you restore the form
Max_admin 21 Apr, 2019
Hi,

Because the PHP block is inside the "display" event of the "Display form", that event was intended for displaying fields inside the form, but this has been neglected in the next update, and so the display event was removed and the actions inside will not appear in the designer.

I will restore in the display event in the next update but I strongly recommend that you build new forms in the new mode.

Best regards
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.