It looks like javascript cause page not to pass validation. here is a link:http://validator.w3.org/check?uri=http%3A%2F%2Fwww.affordablelaundry.com%2Flaundry-service-request-form&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.2#line-920
Can somebody give me a hand with this issue,
thanks
Hi bveljkovic ,
Have you fixed this? No errors are being shown now.
Bob
Hi bveljkovic,
I think if you edit components/com_chronocontact/js/customclasses.js to add HTML comments at the beginning and end <!-- . . . --> then most of these errors will be fixed.
Bob
customclasses.js file doesn't exist in js folder
Since mentioned above js file was missing I copied whole js folder from another site where also chronoform is installed and paste it into this one, but still nothing. I have tried adding comments in js files at the beginning and at the end of file, but still nothing. Maybe I didn't write down comments properly?
Hi bveljkovic,
I'm very confused. I don't understand how the ChronoTips class can be causing the validation errors if the file isn't on your site :-(
There are still no quotes showing if I look at the feedback form page.
Bob
Yes, it is confusing. But I told you the truth, that file doesnt exist in com_chronocontact/js folder. Maybe it was placed somewhere else. I also wasn't able to see HTML comments I added to this scripts. In which file you "call" (I dont know proper expression) this scripts? Is it in chronocontact.php?
The script that cause the error is this com_chronocontact/libraries/includes/JSvalidation2.php,
I have placed comments at the begining and at the end. You can see that in validator report. Still reporting error. I will see more about this comments, maybe I didn't place them properly.
Ok. Finally some progress. I have edited above mentioned script like this
<script type="text/javascript">
// <![CDATA[
...
// ]]>
</script>
And it seems to work now. Now I have some more errors that is probably some other script, but I think I can fix it in same way. Tell if this solution is ok, and if form will work fine.
And, that is it! Last file to edit was JSCustomClasses.php Everything is valid now and I think everything works fine. How can I buy you a beer? But seriously ...
Hi bveljkovic,
Oh - apologies for getting the filename wrong :-( I pasted it in from the code and must have deleted the extra JS :-(
Beers, coffees and books always welcome but not required - click the link in my sig below.
Bob
I have send you PM - regardig beer.