Custom php function breaks the template

shahabpk 11 Mar, 2020
I created a test chronoform and only put a custom php script in Load event to test it.
The script contains a php finction.

Custom php function breaks the template image 1
But when this I do a test run of this form, it breaks my template from loading properly and I get something like this in the page.

Custom php function breaks the template image 2

This happens only when create a php function. normal php script works perfectly. Any idea?
I use Joomla Fontaine theme.
Max_admin 11 Apr, 2020
Answer
it does not support functions, do not use a function in the PHP action!
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.

VPS & Email Hosting 20% discount
hostinger