To insert code use <code>...</code>.
where to add Js to validate forms for Safari..
  • Hi there,
    I need to have some form input validated in all types of browsers. Since safari (web and IOS) and I think IE8,IE9 do not validate HTML5 forms, I found this scripts that solve the problem: http://www.matiasmancini.com.ar/jquery-plugin-ajax-form-validation-html5.html

    I have tried to add them in the Striking->General->Google Analytics section, but they seem to screw up the pictures of the page (specially line: <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>)

    Do you know any way to have this included in my page?
    Or alternatively, do you know how to have HTML5 forms validated in Safari easily?

    Thanks in advance
  • 2 Comments sorted by
  • Hi

    open the header.php

    Goto line 34 where it says ?>. Goto the end of that line after the > sign and give a enter so you get a new empty line and insert your code in there.

    or just wait on striking 5.1.8 which has the option at the backend to insert the code.

    Best regards,
    BackuPs
  • thank you. I have been able to place the script without problem. But it seems I have not been able to make it actually work to validate the form in safari.... sigh!