Right now when I attempt to send a blank form the whole page refreshes before displaying the error messages.
I’d like to add a slide down effect to these errors and somehow stop the page from refreshing…
I tried to use this:
.delay(); only applies to the DOM element you are calling, which is .error. This doesn’t apply to document/window locations.
The best way to achieve this is to have the error display after the page has loaded (which is achievable with PHP using if/else statements). Trying to do it before will require AJAX without the page refreshing.
Plus, are these errors actually displaying at all?