Disable automatic page refresh if not all fields entered
I am using the threaded layout. When a new user selects a forum, adds a title and types up their submission, if they click "add post" without inserting author name or author email the page will automatically refresh and remove their entire submission without saving any of the progress. When the page refreshes a red box in the upper right corner will appear stating "Please insert required fields". I imagine this will be incredibly frustrating for new users who do not know they must insert author name and author email.
You already have the feature I want, but it only appears in certain cases. For example, if the new user were to only type their submission (but not include a topic title) and click "add post", this time the page will not refresh and a box will appear next to topic title saying "!Please fill out this field". I would like that same feature to appear if the user forgets to add author name or author email.
Thanks for any help. Sorry for the longer post.
I'm guessing I can manually update the code to include author name and author email as required fields with the Custom JS plugin.
This is time-sensitive work as it relates to Covid-19. Your help is much appreciated.