Dragon_12dk Posted May 8, 2015 Share Posted May 8, 2015 Hello,I have recently created a new "feature" to a web browser that I am working on where users can add their own website. To do this they just type the title, URL, and description into the form and press submit. However I am worried about people submitting bad websites that I don't want to see on this browser. With that being said, is there a simple way to BlackList certain words from being typed into the form? So that you can not press submit or something.Thanks. Link to comment Share on other sites More sharing options...
davej Posted May 8, 2015 Share Posted May 8, 2015 A web portal? If you want to check a blacklist, there are plenty of them available. Link to comment Share on other sites More sharing options...
Dragon_12dk Posted May 8, 2015 Author Share Posted May 8, 2015 A web portal? If you want to check a blacklist, there are plenty of them available.Do you know if I could just add it to the <input> of the form? I would not mind typing every word to block manually Link to comment Share on other sites More sharing options...
Ingolme Posted May 9, 2015 Share Posted May 9, 2015 You can't do that in just HTML. The script that processes the form, which may be PHP, Javascript, or some other server-side language, has to deal with that. Link to comment Share on other sites More sharing options...
Dragon_12dk Posted May 9, 2015 Author Share Posted May 9, 2015 Ya, I moved this over to the PHP area after I got a bit more info on this. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now