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
    JotForm Support

    How to prevent users from including unwanted content in a text box

    Asked by abajan on May 14, 2013 at 09:02 PM

    This thread was created to reply to jonsan32's last post in the thread
    Stopping forward slashes in email hyperlinks


    @jonsan32

    An extra condition can be added to prevent users from entering http:// (or https://). To illustrate, test this clone of your form and you'll see that once either http:// or https:// is entered, a reminder is displayed and the submit button becomes hidden. If you clone the form, you'll notice three things that are different from the original form:

    1. It has an extra element (the reminder)

    2. Its injected CSS has two extra rules

    3. There's an extra condition

    If you would like further help with this, please let us know.

    Thanks
    content conditional logic condition custom validation prevent certain text
  • Profile Image

    Answered by jonsan32 on May 14, 2013 at 10:12 PM

    Thanks a ton! That is smart, and definitely something I should've thought of. Much appreciated.

  • Profile Image
    JotForm Support

    Answered by abajan on May 15, 2013 at 07:23 AM

    You're welcome :)

    Glad I could help.

    Cheers