Jump to content

Archived

This topic is now archived and is closed to further replies.

Queue-it

Forms not working

Recommended Posts

Simon

Your copy+pasta code is using $ as a shortcut for jQuery.

<script type="text/javascript">
        function showhide(id) {
            $(".pl-form-container").hide();
            var e = document.getElementById(id);
            e.style.display = (e.style.display == 'block') ? 'none' : 'block';
        }
        function hideTheForm(formId) {
            var e = document.getElementById(formId);
            e.style.display = 'none';
        }
    </script>

WordPress uses jQuery not $ unless you wrap the code.

You have other js errors in the page too, but that one is a fatal error. Nothing at all to do with any PL product.

Share this post


Link to post
Share on other sites
Queue-it

Thanks, will look into the other error we have there.

Share this post


Link to post
Share on other sites

  • Similar Content

    • uniworks
      By uniworks+
      Running WordPress 4.8.1  Unable to update to new versions of Pageline plugins (6 total). 
    • tuciudadenred
      By tuciudadenred+
       
      I have problems with the scroll, someone who can help me?
      Video_1487265541.wmv
    • nandorj78
      By nandorj78+
      This discussion has appeared today on the Facebook User Group and we decided to have a vote to know what the users judge more important.
      Let me know which questions you want me to add to the poll.
    • butcher
      By butcher+
      Hello.
      I was present at online google meeting and I already then I was expressing my concerns. I agree to some point they could be better as plugins but...
      1. Installing extensions as plugins right now is kinda annoying dont you think ? You have to install it one by one, in a new window. Should be install All option ! A must have. The also could be categorized to some groups with the same Install whole group option.
      2. Having another 20+ plugins in your plugin list creates a messy and long list... Its a good idea with Pagelines plugins sub category, but IF we cant avoid extensions as plugins they shouldnt be connected with all the rest on a default list.
      Please rethink it and consider my suggestions.
      Anyone from Beta testers having similar feelings ?
    • jharri74
      By jharri74
      Is there no longer access to some of the plugins, even with the developer account?
×