What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How can I add a script to ban or limit obscene messages?

    Asked by Monica on May 25, 2013 at 03:33 PM


    I've had a problem with a friend's exboyfriend who keeps harassing us (all of her friends).

    Since he knows my webpage and i have a contact form for my customers, every once in a while he sends obscene messages through it. I would like to know if it is possible to add a script in which I ban certain keywords so that no one that wishes to bother me would be able to do it. I mean, I already added captcha and email verification which i think will help a lot but i think adding the censored words filter would help even more.


    Please let me know the code i could add. thanks!

    Page URL:

  • Profile Image

    Answered by KadeJM on May 25, 2013 at 04:49 PM

    Hi Monica, I am sorry to hear about the trouble this person is causing you. If you have valid proof of his harrassments I would highly suggest that you take an extra step and report him to the proper authorities so that this stops since many authorities out there do not take kindly to this type of behavior.

    Anyhow, in regards to your form on your website we can certain help you with this problem. There are a few precautions you can take to prevent his comments from becoming a further problem.

    (1) You can make your submissions Unique Submissions with a " Strict Check ".

    (2) You can also apply Limits to your Submissions such as only allowing a certain number of submissions from a person that fills in your form, etc,.

    (3) You can also add in Unique Questions that will filter and block or even reject submissions if certain criteria is matched which you can specify.


    I hope this helps but if you need further assistance just let us know.