Hitting return on P...
 
Notifications
Clear all

wpForo 1.x.x [Closed] Hitting return on Post Title submits the post

4 Posts
2 Users
0 Reactions
816 Views
Posts: 2
Topic starter
(@christophk2003)
New Member
Joined: 3 years ago

Hey there, I believe, this is a defect, which might not happen often, but it does:

If a user has entered the minimum number of words into the post textarea, then changes the focus on the Topic title (for example to edit it again) and hits (accidentally or not) return, the post gets automatically submitted regardless whether the post is finished or not.
If most of the users are subscribed to the forum, an e-mail with an unfinished post may be sent to all subscribers. Recently, one of our users did that and informed 900 users via e-mail with a one-line text.

Often, when starting a post, people may or may not enter a topic title immediately or may edit it while drafting the post content. It is easy to hit return and the topic is sent unexpectedly.

Is it possible to add a little feature to the backend, where we can enable a confirmation before posting? Something along the lines: "Are you sure, that you are done with this post"? 

Thanks, Chris

 

3 Replies
Chris
Posts: 3647
(@chris)
Famed Member
Joined: 3 years ago

Hi @christophk2003,

I guess there is a Plugin or script on your website which causes that issue, on wpForo if you press the back button of the browser you will get a popup message. Screenshot attached below. But if you press the Backspace button on the Keyboard, there will be no action.

Posts: 2
Topic starter
(@christophk2003)
New Member
Joined: 3 years ago

Thanks @Chris, for your response. But it is not about hitting backspace, but on return / enter.

1 Reply
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3647

@christophk2003,

That's not a defect, when the user presses Enter when the Title field is focused, the topic will be posted.

If the Users wants to change the focus from Title field to Post field, they need to press Tab button.

If you really need this feature, you can contact gVectors Custom Work Team with sales[at]gvectors.com, they can create a custom JS Code for you.