Forums

Validation Issues with site that uses HTTP and HTTPS

mapme 15 Nov, 2012
Hi,

I have a Joomla 2.5.8 site that is using HTTP and HTTPS for various pages.
There are a couple of problems I am having in relation to the template where there is some referencing that needs to be updated to include correct links to CSS and JavaScript files. Those are now resolved after fixing them on a piecemeal basis.

However the Chronoforms validation scripts are also possibly affected.
Validation on my forms works for the HTTP pages, but is ignored on the HTTPS pages.

Is this a known issue or has anyone got a workaround?

Thanks,

Brendan
mapme 16 Nov, 2012
Okay - found a solution so hopefully this will help others.

I've seen problems on this forum relating to SSL integration with forms.
It can be set up easily using Chronoforms in the main form settings (not the wizard).

1. Click on the form name
2. Under the general settings tab scroll down to "Relative URL", and select as No. Therefore the Post option on your form in the HTML will start with "index.php......" instead of "http://www.sitename.com/.....". This means if your page is already in HTTPS then it will also post as such.
3. Underneath this option is a "Dynamic Files" option. Select this as "Yes" and your various JS files will be successfully loaded (ie, not a mix between HTTP and HTTPS locations if both exist). This means your form validations will always work. Well, they did for me anyway!

Hope this helps.

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