The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
The commenter name ...
 
Share:
Notifications
Clear all

Question The commenter name length prompt is incorrect!

7 Posts
2 Users
0 Reactions
258 Views
Posts: 41
Topic starter
(@xiaolulu)
Trusted Member
Joined: 1 year ago

I set the minimum length of the commenter name to 2 characters and the maximum length to 5 characters in "Commenter name length". When I commented, I only entered 1 character in the commenter name, but the prompt was: Please be consistent with the requested format! But the guest commenter will not know what the error is? It should prompt: "The minimum length of the name is 2 and the maximum length is 5". I also did not find the relevant modification in "Phrase".

Website URL
6 Replies
Asti
Posts: 7617
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

We'll check this and get back to you soon. 

Reply
5 Replies
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7617

Hi,

Please navigate to the Dashboard >wpDiscuz > Phrases > Errors admin page, check the value of the "Message if input text length is too short" field. 

The value of the field is used in this case. 

Reply
(@xiaolulu)
Joined: 1 year ago

Trusted Member
Posts: 41

@asti I found the relevant phrases, but "Enter too short" and "Enter too long" do not match the information that pops up in the name box. In other words, the information that pops up in the name box is not the text in the phrase.

Reply
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7617

@xiaolulu

wpDiscuz uses the HTML input tag in this case, and the validation for the input is done by the browser, not wpDiscuz. Therefore, the message also comes from the browser.

Reply
(@xiaolulu)
Joined: 1 year ago

Trusted Member
Posts: 41

@asti So, what is the solution?

Reply
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7617

Dear xiaolulu,

In this case, the solution cannot be provided by the wpDiscuz side. This message comes from the browser. 

Reply
Share: