Forums

Javascript

articulan 17 Dec, 2008
Sorry new to using ChronoForms (just purchased the license!) and trying to create my first form using following script. How can I make following script work:-

<script src="http://dockland.eolts.co.uk/chart.php?rtype=restaurants"></script>

I added this script to 'Form Code' tab but it still doesn't work - can anyone help please?
Max_admin 17 Dec, 2008
Hi Articulan, try to add this line in the "HTML code" box ? it doesn't work there ?

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
articulan 18 Dec, 2008
Max,

Thanks - yes I did add <script src="http://dockland.eolts.co.uk/chart.php?rtype=restaurants"></script> to HTML box but still doesn't work.

I know iI must be going something very obvious wrong! - can you help please?
Max_admin 20 Dec, 2008
Hi Articulan,

Sorry I was disconnected, if it doesn't work in the HTML box then this code must go outside the form tag, the only way to do this is to insert this line of code you have at the template file!

go to the template manager and choose your current template and "Edit HTML" and add your line of code before the </head> tag!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 20 Dec, 2008
Hi Articulan,

Do you have the correct link for your script? - all that I see there is document.write("");.

There is some content at
http://dockland.eolts.co.uk/chart.php


Also I think the type='text/javascript' attribute is required.

Bob
This topic is locked and no more replies can be posted.