Hi omri,
Have you fixed this? I just looked in FireFox 5, IE 7, 8 & 9 and Chrome and don't see what the problem is :-( Maybe I'm in looking in the wrong place?
I think that there are problems re-using the classes on the same page, and there are some fixes in the forums here.
Bob
No. I didn't fix it.
Here are two images from ie7 and FF.
in IE7 the template is LTR where it should be RTL. Also the upper banner is wrong.
It look to me like the RTL css is not loading or something similar to that.
[attachment=1]ie7.jpg[/attachment]
[attachment=0]ff.jpg[/attachment]
Hi omri,
Thank you. I can see the problem now. It looks as though many of the ChronoForms files are being loaded twice and then the template CSS files that come after that, including the template_rtl.css file are listed in the page header but not loaded in IE7.
The ideal solution would be for ChronoForms to use the Joomla! $doc->loadStylesheet() syntax as this appear to handle duplicated files, this would need some fairly extensive hacking :-(
I wonder if it's possible to find out what loads the rtl stylesheet and move that into the page header earlier so that it loads before the ChronoForms sytlesheets?
Bob
BTW, I tried to copy the form HTML and place it as the second form but it didn't work as expected. Again, 'required' didn't work.
Sorry for jumping this, but I saw you answered other people and skipped me...
Hi omri,
I looked at this last night but don't have any useful answer for you. I can't see why the rtl CSS files aren't loading :-(
Bob
OK.
So my second option is to copy the form html and place it where I want the second form in the page. (reminder - I need the same form twice on the same page).
The problem was that the 'required' didn't work. It actually worked for one of the form, but If I hit 'submit' on the second form it worked with all the fields empty.
Any ideas how to solve this would be really appreciated.
Thanks again,
Omri
Hi Omri,
The validation is tied to the form name - so copying the form HTML with the same form name will break it; changing the form name won't help either as the corresponding code to set up the validation is no longer being loaded.
I did have a thought as I posted my last message - you might try adding the code to the second Form HTML to load the missing CSS classes - I don't know if that would work but it's worth a go. You just need to add the CSS link to the Form HTML box.
Bob
Can I, in some way, prevent the 2'nd form from appearing in ie7?
I put the second form in a module and disable it in ie7 using Advanced Module Manager.
It works OK this way.
Thanks,
Omri