Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Modal disappears without success message (after successful submission)
After submitting the form, my modal disappears without any success message. Only when the modal is launched once again, the form is now replaced with the success message. Everything else is working perfectly.
In the Treehouse video, the modal seems to behave in a similar way (without direct success message), but I would prefer to give direct feedback to anyone who submits the form to assure them that it has been successfully submitted.
Any ideas how to accomplish this?
My site only works locally at the moment, so no previews, sorry!
P.S. Could not find much on this topic via Google, except https://wordpress.org/support/topic/pop-up-jquery-modal-dialog-window-on-success-message-in-ajax-mode. However, their suggestion (step 2) to tick the "Submit via AJAX (without page reload)" box already throws an error within the Ninja Forms plugin.