Error code in line 87

ati.solution 01 Jul, 2009
hi

I just installed ChronoForm on my site with Joomla 1.5.11 and I can see a error code in line 87. You can get it at here and double click on error button in left-buttom.

Coudl you please help me to fix it?

thanks in adnvace
Max_admin 01 Jul, 2009
Hi,

I can't see any error at your page, I tested it in FireFox

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ati.solution 01 Jul, 2009
Thanks for your information. You can get it on IE
Max_admin 01 Jul, 2009
Hi, under the form general tab at this field:
Date Fields names

what do you have ? this field should be empty unless you have a date field and it should contain the field(s) names!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
apabiona 01 Jul, 2009
Hi,

I have seen this too, if you leave the Date Fields name empty - it will default to d/m/Y - so what i did is placed a dummy variable value date_1 (if you have no date field) and the js error went away.

worked for me!😀
Max_admin 01 Jul, 2009
I see, it should not default to d/m/Y, not this field, the date format should do, so we have found a small bug, thanks for reporting back, make sure you get RC5.21 in the next few hours!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ati.solution 01 Jul, 2009
Thanks for your information.

I am waiting new release for this smal bug.
peter49 03 Jul, 2009
Hi,

in case you're a bit impatient (as I am!), here's a patch that will do:

Edit file admin.chronocontact.html.php in folder administrator/components/com_chronocontact
Search for 'd/m/Y' (there's only one!). You'll find it (somewhere around line 1525) in a line:
		<input type="text" name="params[datefieldsnames]" id="params[datefieldsnames]" class="inputbox" size="100" value="<?php echo $paramsvalues->get('datefieldsnames', 'd/m/Y'); ?>">
The string is used (incorrectly) as default for the 'datafieldsnames' parameter. Just replace it by '' (empty string). Probably the default should have been placed in the previous code block (for 'datefieldformat')
I don't know whether this has the master's blessing, but for me it works perfectly!

Regards,
Peter
Max_admin 03 Jul, 2009
Thanks Peter for posting the fix!🙂

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.