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

    Disabling the paste function in a text field

    Asked by FFAEventsReporting on February 24, 2016 at 09:39 PM

    I am creating a form and am wanting to restrict the user so they cannot paste text from another source into a text field on the form.  Is this possible?


    Thanks :)

  • Profile Image
    JotForm Support

    Answered by ashwin_d on February 25, 2016 at 05:40 AM

    Hello FFAEventsReporting,

    Unfortunately it is not possible to achieve your requirement within the JotForm. You will have to download your form's full source code and add custom JavaScript code to disable the paste function.

    The following guide should help you how to download your form's full source code:  http://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form 

    You may like to check the following guide for the custom javascript code: http://stackoverflow.com/questions/15320069/how-to-prevent-user-pasting-text-in-a-textbox 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!