• Resolved sgallery

    (@sgallery)


    I’ve placed mailchamp from in footer of my website but it is showing a code in the frontend

    (function() { window.mc4wp = window.mc4wp || { listeners: [], forms: { on: function(evt, cb) { window.mc4wp.listeners.push( { event : evt, callback: cb } ); } } } })();

    also when I click submit button it is giving an error “Please select at least one list.”

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Lap

    (@lapzor)

    Please add the following CSS to your site:

    div#mc4wp_form_widget-2 script {
        display: none !important;
    }

    Often there will be a place to add custom CSS under Appearance > Customize > Additional CSS or Custom Style or such. The exact naming can be a bit different for each theme.

    That code should hide the script.

    Then under MC4WP > Form > Settings, make sure at least 1 list is checked to clear the other error. .

    Hope that helps. If you have any questions, please let me know!

    • This reply was modified 1 year, 11 months ago by Lap.
    Thread Starter sgallery

    (@sgallery)

    Through widget

    Plugin Contributor Lap

    (@lapzor)

    Please add the following CSS to your site:

    div#mc4wp_form_widget-2 script {
        display: none !important;
    }

    Often there will be a place to add custom CSS under Appearance > Customize > Additional CSS or Custom Style or such. The exact naming can be a bit different for each theme.

    That code should hide the script.

    Then under MC4WP > Form > Settings, make sure at least 1 list is checked to clear the other error. .

    Hope that helps. If you have any questions, please let me know!

    Thread Starter sgallery

    (@sgallery)

    Okay Thank the issue is resolved. can you help me a little bit more… I don’t want to the whole page to refresh when someone click the form button.

    Plugin Contributor Lap

    (@lapzor)

    With our Premium add-on you can turn on AJAX submission, that way the page won’t reload at all.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I’m seeing some code in frontend of my website’ is closed to new replies.