Hi,
I found this post: https://www.chronoengine.com/forums/posts/t99179/p344981.html which has code to load a chronoform5 in a php file.
I have a form named "miniContact" and have added this code into my php file:
What I am getting on the front of the website is: "Form name can NOT be empty!"
but as you can see I have put the form name into the array.
Any help on how to get this form to display would be great.
Thank you.
I found this post: https://www.chronoengine.com/forums/posts/t99179/p344981.html which has code to load a chronoform5 in a php file.
I have a form named "miniContact" and have added this code into my php file:
jimport('cegcore.joomla_gcloader');
ob_start();
$output = new JoomlaGCLoader('front', 'chronoforms5', 'chronoforms', array("chronoform" => "miniContact"), array('controller' => '', 'action' => ''));
$return = ob_get_clean();
echo $return;
What I am getting on the front of the website is: "Form name can NOT be empty!"
but as you can see I have put the form name into the array.
Any help on how to get this form to display would be great.
Thank you.