Avoid redirect to comment page if comment is invalid I have configured comments to display in the node page, but if submit an invalid comment (e.g. without text in the comment field) I get redirected to the /comment/reply/ page. I would like to remain in the node page.
You can do this, by using hook_form_alter and then change the $form['#action'] value to point to the current destination.