Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : Yourself
Forum link : https://ekin-ek.666forum.com/
- - - - - - - - -
If I use this code,the navigation bar will disappear.(And,close code,it will recover.)
→In the topics:Limiting the number of words has no effect.
→In all the pages:Can limit the number of words, but the mobile navigation bar will disappear.
I don't know why.
【From https://help.forumotion.com/t121475-minimum-character-post?highlight=minimum+characters】
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : Yourself
Forum link : https://ekin-ek.666forum.com/
- - - - - - - - -
If I use this code,the navigation bar will disappear.(And,close code,it will recover.)
→In the topics:Limiting the number of words has no effect.
→In all the pages:Can limit the number of words, but the mobile navigation bar will disappear.
I don't know why.
【From https://help.forumotion.com/t121475-minimum-character-post?highlight=minimum+characters】
- Code:
$(function() {
var x=document.forms['post'];
$(x.post).click(function(e) {
if (x.message.value.length < 10) {
e.preventDefault();
alert('Your post must contain at least 10 character');
}
});
});
Last edited by Winging on November 23rd 2020, 2:00 pm; edited 2 times in total