Snog
Well-known member
I've added a couple of text input fields to the quick reply template and all works as it should from the PHP aspect of what I'm doing.
But, I'm having trouble clearing those fields after the quick reply is submitted.
I know how to do it by using javascript and adding onclick="submitForm()" to the post reply button and that works, BUT when I do it that way I lose the ability to display pop-up error messages.
I am assuming it has something to do with AJAX and I'm missing where that is processed.
Any ideas on how to clear those fields and retain the pop-up error messages?
But, I'm having trouble clearing those fields after the quick reply is submitted.
I know how to do it by using javascript and adding onclick="submitForm()" to the post reply button and that works, BUT when I do it that way I lose the ability to display pop-up error messages.
I am assuming it has something to do with AJAX and I'm missing where that is processed.
Any ideas on how to clear those fields and retain the pop-up error messages?