http://www.yourwebsite.com/subdir/Forms/form.html
When rendering the form, ChronoForms will render to look for the javascript at:
http://www.yourwebsite.com/subdir/compo ... idation.js
instead of:
http://www.yourwebsite.com/components/c ... idation.js
This will cause a 404 on the script as it is not located underneath the subdirectory, and cause a script error in IE indicating that 'Validation' is undefined.
In order to resolve this, the following change needs to be made to:
components/com_chronocontact/chronocontact.html.php
Change the following
From:
- Code: Select all
<script src="components/com_chronocontact/js/mootools-release-1.11.js" type="text/javascript"></script>
<script src="components/com_chronocontact/js/mooValidation.js" type="text/javascript"></script>
To:
- Code: Select all
<script src="/components/com_chronocontact/js/mootools-release-1.11.js" type="text/javascript"></script>
<script src="/components/com_chronocontact/js/mooValidation.js" type="text/javascript"></script>
This will cause the browser to look for the file in the root of the website always, rather than point to the subdirectory.
