Hello,
in Joomla (3.8.6) I would like to install a Chronoform V6 form in a self-written component (address directory).
Logic: ... bla..bla .. IF ($address-> email) { show mailform } ... bla ..bla ..
I have tried 2 ways to show the form:
Thankful for help or any idea
Regards
Thomas
in Joomla (3.8.6) I would like to install a Chronoform V6 form in a self-written component (address directory).
Logic: ... bla..bla .. IF ($address-> email) { show mailform } ... bla ..bla ..
I have tried 2 ways to show the form:
- As PopUp:
JHTML:: _('behavior.modal');
<a class="modal" id="load_chrono" href="/index.php?option=com_chronofrom6&chronoform=mailform&tmpl=component" rel="{handler:'iframe', size:{x:500, y: 649} }"> Send mail </a>
That way, it works well. - Embedded:
$ module = JModuleHelper :: getModule ('mod_chronoforms6', 'mailform');
if ($ module-> id) {echo JModuleHelper :: renderModule ($ module);}
That way, the form will be displayed but will not work.
No validation, no calendar, .... no functionality.
Not even if I adjust the action URL in Form-> Setup.
Thankful for help or any idea
Regards
Thomas