Support Forums - Classified Ads Script Osclass
Unread
New Replies
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
Prevent user from entering certain words in title and description
Support Forums - Classified Ads Script Osclass
Osclass plugin support
Other
Prevent user from entering certain words in title and description
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Unread posts
New replies
My topics
My posts
Print
Pages: [
1
]
arun008
46 posts
Prevent user from entering certain words in title and description
«
on:
March 17, 2018, 10:15:08 AM »
Prevent user from entering certain word in textarea “SEX”
var input = document.getElementById("domain");
input.onkeyup = function() {
input.value = input.value.replace(/\.(com|net)/,"*");
}
Logged
MB Themes
Support team
17452 posts
Only quality matters
Download Osclass
Re: Prevent user from entering certain words in title and description
«
Reply #1 on:
March 17, 2018, 11:29:41 AM »
Is it functional?
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
arun008
46 posts
Re: Prevent user from entering certain words in title and description
«
Reply #2 on:
March 17, 2018, 12:45:32 PM »
Yes
Logged
arun008
46 posts
Re: Prevent user from entering certain words in title and description
«
Reply #3 on:
March 17, 2018, 12:52:24 PM »
How to remove “.com and .net ”
Demo link
http://jsfiddle.net/kLTq5/1/
Logged
MB Themes
Support team
17452 posts
Only quality matters
Download Osclass
Re: Prevent user from entering certain words in title and description
«
Reply #4 on:
March 17, 2018, 02:57:29 PM »
Look on code... I am not good with regex.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Print
Pages: [
1
]