Hi Horst,
I start out with a caution. This is a hack, it is not recommended or supported!!
You need to know what you are doing here as some ChronoForms functionality will not work with this approach. If you have problems you can always cut and paste the code back into the ChronoForms form box.
1) Create a components/com_chronocontact/includes folder.
2) Inside that create a 'form_name' sub_folder (I often have several forms in development at the smae time and this keep them apart).
2) Inside the 'form_name' folder create some empty files 'autogenerated.php', email.php', 'formhtml.php', 'onsubmit_after.php', and 'onsubmit_before.php' You may not use all of these but that's no problem.
3) In the corresponding ChronoForms boxes put:
<?php
require_once JPATH_BASE . DS . 'components'
. DS . 'com_chronocontact' . DS . 'includes'
. DS . 'form_name' . DS .'formhtml.php';
?>
with the appropriate file names in each place.
4) You can now edit your code in the included files using FTP and they will be included into the form.
5) Some things will not work like this!! [u][*]{imageverification} will not be found, you can either paste in the full imageverification code, or put the end piece of the form into the code box.[*]'Create data table' will not work. You can fool ChronoForms by putting a list of name attributes into a comment in the form code box: <!-- name="name1" name="name2" . . . -->[*]Form validation won't work. Enter the class names in your form code by hand e.g. class="required" and set it 'On' in the Forms Manager without putting anything in the field name boxes.[/list]There may be more but that give you the main idea.
Bob