Skip navigation
Currently Being Moderated

Block bad or forbidden words in Form Fields

May 9, 2012 2:13 PM

Tags: #script #form #fields #validation #restrict #restriction #acrojs #javascipt

Looking for a Script to block bad or forbidden words.


My attempt creating a function with an array was unsuccessful.


If possible would prefer to have a resource for both:

  • a Document level script
  • a Form, property level script


Many thanks!


  • Currently Being Moderated
    May 10, 2012 6:56 AM   in reply to DaLe Zki

    What is a from property level script?


    Yes you can create an array of words and a document level function. Spliting words and testing words is farily complex as you have to split the text by  all the diffferent white space characters and then adjust for the case of the text.


    This seems a lot for free.


    Have you searched the internet for scripts to count words, convert text to Title Case?

    Mark as:
  • Currently Being Moderated
    May 10, 2012 7:24 AM   in reply to GKaiseril

    I developed a tool that does just that, but was warned by an admin against linking to paid products, so I won't.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points