Nothing happen after adding answer, but record is created
Describe the bug When adding an new FAQ, after the user clicks "Submit", the message "Saving" appears and no more feedback. But the record in the database appears, and it will appear as many times as the user clicks on the "Submit" button. Even if the user has not filled in the required fields
To Reproduce Steps to reproduce the behavior:
- Go to "https://domain.name/addcontent.html"
- Fill in the fields "Name, Mail, Entity", but "Question, Answer" leave empty or not its not important
- Push "Submit" button
- Text "Saving" is appear, nothing is happen, but record in "Edit FAQs" in administrative mode created
Expected behavior I'm expecting an error message if required fields are not filled in, or if the form is saved and closed when the new FAQ is successfully added
Screenshots
Step 1

Step2

Step3

phpMyFAQ (please complete the following information):
- phpMyFAQ version - 1.3.6
- PHP version - 8.1.3
- Database - MySQL
- Elasticsearch yes/no - no
Desktop (please complete the following information):
- OS: Windows
- Browser Chrome, Firefox
- Version latest
I've applied fixes on my host, but I can still create a FAQ with an empty question and answer field