Table and script generation in frontend

jonflgiles 19 Dec, 2007
Hi,

I would like (for the purposes of trying to validate my site to standards) to make some minor changes to the way forms are rendered in the front end.

I thought that all this code would be contained within the function showform in componente/com_chronocontact/chronocontact.html.php. There is indeed code that relates to this but any changes to this do not affect the rendering of the form? Is there some strange cacheing going on?

On another note related to this, can I make a feature request for future verions: When the validation classes are added to form elements they are added as extra classes so that if I am using classes in my form for my own styling they do not validate to xhtml standards. Can the code detect if there is a class tag and then append the validation classes to it?

I am using latest download version of Chronoforms on J!1.5 build 9477 (avoiding an update until imminent RC4 appears!) Apache 1.3.37, PHP 5.2.3, MySQL 5.0.41.

Many thanks,

Jon.
Max_admin 19 Dec, 2007
Hi Jon,

I will add this feature request to the to do list, regarding the rendering issue, the function showform in chronocontact.html.php is the responsible for showing the form yes, other HTML may come from the show function in chronocontact.php for the image verification box only and from your own form code of course🙂

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 19 Dec, 2007
Hi Jon,

Just to confirm that there is no caching in ChronoForms - what effect are you seeing that doesn't change?

Bob
jonflgiles 21 Dec, 2007
Hmm, I am going to do some more testing both on my offline and online servers.. but say for example I add an extra class to the table tags or something similar, upload the PHP, refresh the browser cache and then view it it doesn't seem to change - I think I must have got something wrong because it seems very strange.

Thanks for the reply - I'll let you know if I find out any more!

J.
jonflgiles 21 Dec, 2007
Just realised.... I am using the plugin which renders the table/form tags separately... whoops!!

Thanks anyway!

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