I’m sending the comment form with ajax to it’s default action domain/wp-comments-post.php and it returns a 500 error page.
What I want is to validate the form and return a json with invalid inputs => error message association json. If form input is valid try to add comment, if not added return error json, if added return comment => rendered li element association json.
Don’t know how else to explain it better.
Thanx for your time.
- The topic ‘ajax comment post validation return json’ is closed to new replies.