[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]


    Search the Q&A Archives


I need to validate text box in the form for bad words. Let's...

<< Back to: comp.lang.perl.* FAQ 0/5 - Introduction

Question by srisow26
Submitted on 4/1/2004
Related FAQ: comp.lang.perl.* FAQ 0/5 - Introduction
Rating: Rate this question: Vote
I need to validate text box in the form for bad words. Let's say if there is a form with text boxes, if user enters bad words in the text box, it should alert the user to enter valid word. All the bad words are in a text file. The code should retrieve the value from the text box and compare the value with the text file values, if the bad word entered by the user matches the words that are in the text file, system should alert user and set focus on the text box, so that the user can enter the valid word.

I tried to do this using JavaScript but I don't think we can access a text file using JavaScripting. I have use a text file in the scenario. Any quick response would be greatly appreciated.
Thank You,
srisow26.


Answer by vbnvbn
Submitted on 11/18/2005
Rating: Not yet rated Rate this answer: Vote
cvvnbvbnvn

 

Answer by FDGDF
Submitted on 5/15/2006
Rating: Not yet rated Rate this answer: Vote
ERTER@#$%^

 

Answer by ds
Submitted on 5/25/2006
Rating: Not yet rated Rate this answer: Vote
efsdfsdf

 

Answer by 555555555
Submitted on 12/5/2006
Rating: Not yet rated Rate this answer: Vote
55555555555

 

Answer by gfdf
Submitted on 2/28/2007
Rating: Not yet rated Rate this answer: Vote
lively i am engineers

 

Answer by vasagan
Submitted on 4/26/2007
Rating: Not yet rated Rate this answer: Vote
studying

 

Your answer will be published for anyone to see and rate.  Your answer will not be displayed immediately.  If you'd like to get expert points and benefit from positive ratings, please create a new account or login into an existing account below.


Your name or nickname:
If you'd like to create a new account or access your existing account, put in your password here:
Your answer:

FAQS.ORG reserves the right to edit your answer as to improve its clarity.  By submitting your answer you authorize FAQS.ORG to publish your answer on the WWW without any restrictions. You agree to hold harmless and indemnify FAQS.ORG against any claims, costs, or damages resulting from publishing your answer.

 

FAQS.ORG makes no guarantees as to the accuracy of the posts. Each post is the personal opinion of the poster. These posts are not intended to substitute for medical, tax, legal, investment, accounting, or other professional advice. FAQS.ORG does not endorse any opinion or any product or service mentioned mentioned in these posts.

 

<< Back to: comp.lang.perl.* FAQ 0/5 - Introduction


[ Home  |  FAQ-Related Q&As  |  General Q&As  |  Answered Questions ]

© 2008 FAQS.ORG. All rights reserved.