Survey SSL Error

CX Version: 

If your marketing surveys are submitting to an error page that states "you must use ssl to access this resource", there is a quick workaround!

  1. In the survey editor, open the survey, then open each page:
  2. Click the Add HTML Content under Page Tasks in the right pane:
  3. Copy and paste the following JavaScript workaround into the text area:

    <script type="text/javascript">
    var forms = document.getElementsByTagName("form");
    for (form in forms)
    if (!forms[form].getAttribute) continue;
    var action = forms[form].getAttribute("action");
    var tlsAction = action.replace("http://", "https://");
    forms[form].setAttribute("action", tlsAction);
  4. Click OK on both dialogs and save the survey
Zircon - This is a contributing Drupal Theme
Design by WeebPal.