Support » Plugins and Hacks » Ninja Forms » [Resolved] [Plugin: Ninja Forms Lite] No success message / email

[Resolved] [Plugin: Ninja Forms Lite] No success message / email

  • Setting up the Ninja-form was really easy and the essence works.
    But I keep having a problem; after hitting submit, a message shows up saying: Processing form submission, please wait…
    Then nothing happens and the submitter doesn’t receive an email, but the submission is saved.
    I checked the jquery version, but can’t find any number lower than 1.7.1.
    The console says:
    XMLHttpRequest cannot load http://mysite.nl/wp-admin/admin-ajax.php. Origin http://www.mysite.nl is not allowed by Access-Control-Allow-Origin.
    I turned Submit via Ajax off, but that makes no difference.
    Hope you can help, thanks!


Viewing 15 replies - 1 through 15 (of 38 total)
  • Plugin Author Kevin Stover


    Hey Suzanne,

    Sorry for the inconvenience. I’ve never seen that error with Ninja Forms before, but it seems like a cross-site scripting error. I’ll have to do some searching to see what the cause is. Ninja Forms uses a bit of ajax upon submission, even if you turn off the “Submit by Ajax” feature. I’ll get back to you as soon as I find something!

    Hello, i’m having a problem with the submissions as well. When you click ‘submit’ nothing happens. I’ve tried turning off the ‘Submit by Ajax’ but it doesn’t make a difference. Here’s a link to the form:

    Plugin Author Kevin Stover


    Hey east,

    I’ve looked at that page and I see a ton of JS errors going on. Could you try disabling all your other plugins and see if the error persists?

    Will do, just currious – how do you see the JS errors?

    Thanks Kevin, it was some other script I have running. I removed them and it worked just fine. Thanks for the quick reply!

    Hey just to shed some light on the problem I was having:
    It didn’t like where I put my call to jquery. I put the link to the jquery script above where the ninja form scripts were called and it’s working great now. Thanks again for your help.

    Plugin Author Kevin Stover


    Hey east, no problem. Glad that worked. If you use Chrome, just right click on the page and select “Inspect Element”, then go to the last tab that says “Console”. The errors will be listed there. If you use FireFox, you can download a plugin called FireBug which will let you do it.

    Thanks, i use Firebug…just never used that feature.

    Hi Kevin, thanks for looking into it. If it helps, this is the form: http://www.endurancekwb.nl/index.php/inschrijfformulier-endurance#

    By the way, is it possible to get the entry fields in line, like this: http://wordpress.org/support/register.php

    Found the cause: I have two domain names for the same website. The site is hosted on one name, but the code for the form uses the other. So I could try to change the url in the code or maybe change home in the settings? Or would that mess with my other plugins?

    Suzanne, you can make the form look however you want with css.
    You can add your own custom classes to each of your fields, here’s an example of a form I’ve made with Ninja Forms Lite and made it look much different than it would ‘out of the box’


    Thanks eastbank. I’m pretty new at this, so I’m not sure what to do with css. Is there a guide or something?

    I solved the XMLHttpRequest issue, but it turned out not to be the cause of the original problem.

    The problem was solved by checking ‘Send a copy of the form to this address?’. Now everything works (success message is shown and email is send), but there’s an error message in front of the success message:
    Warning: mail(): SMTP server response: 503 5.5.2 Need Rcpt command. in D:\www\mysite.nl\www\wp-content\plugins\ninja-forms\includes\processing_functions.php on line 451

    I checked the line and it seems fine.

    Ah, i see.
    This site, w3schools is great Free learning site. You can learn pretty much anything about web development there. Here’s a link to the CSS section:


    Plugin Author James Laws


    The mail() error is caused when you have an email field that is not specifically set up as an email field and then the form is submitted but no actual email address is set.

    Make sure the “is this an email” box is checked for your email field. That will solve the 503 error.

    Thanks for the quick reply!
    The field is checked, but the error persists.
    It works though; when I test it, I receive e-mail. The error just doesn’t look very nice in front of the success message.

Viewing 15 replies - 1 through 15 (of 38 total)
  • The topic ‘[Resolved] [Plugin: Ninja Forms Lite] No success message / email’ is closed to new replies.
Skip to toolbar