Jump to content

HTML forms and blocking words.


Dragon_12dk

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...