minimum character post
2 posters
Page 1 of 1
minimum character post
Hi, how do I add a minimum character when someone posts? Is it possible?
Sukii- New Member
- Posts : 16
Reputation : 1
Language : English
Location : Earth
Re: minimum character post
Hi,
Create a new JavaScript: ACP >> Modules >> JS codes management >> create a new js >> Title: Whatever you want >> Placement : In topics only >> Insert this code:
Save it.
Test it out, create a test thread insert only 3 characters and try posting it.
Create a new JavaScript: ACP >> Modules >> JS codes management >> create a new js >> Title: Whatever you want >> Placement : In topics only >> Insert this code:
- 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');
}
});
});
Save it.
Test it out, create a test thread insert only 3 characters and try posting it.
Re: minimum character post
Thank you very much!
EDIT: Solved
EDIT: Solved
Last edited by ~TheBird on March 9th 2013, 5:02 am; edited 1 time in total
Sukii- New Member
- Posts : 16
Reputation : 1
Language : English
Location : Earth
Similar topics
» minimum post before - all access
» MINIMUM POST-COUNT
» Set mimum character length for post
» Role Play Character Post Template
» Some Assorted Questions re: Policies, Post/Character Limits, etc.
» MINIMUM POST-COUNT
» Set mimum character length for post
» Role Play Character Post Template
» Some Assorted Questions re: Policies, Post/Character Limits, etc.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum