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 HTML code in in a form to be copied and Pasted as it?

    Asked by Baleegh on May 28, 2012 at 06:32 AM

    Hi support


    I need to put a HTML code to be copied and pasted as it by our website visitors, and can not be deleted by "Backspace Key" by visitors, such as "Link exchange", we need to exchange our HTML codes with other sites.



  • Profile Image

    Answered by moonzkie on May 28, 2012 at 06:49 AM


    Yes you can do that by adding the html code as a default value on the text box.

  • Profile Image

    Answered by Baleegh on May 28, 2012 at 06:56 AM

    thanks for reply

    but the problem it can be deleted by visitors, by using "Backspace Key", I don't want it to be deleted or edited by mistake or by visitors visitors.

  • Profile Image
    JotForm Support

    Answered by idarktech on May 28, 2012 at 07:07 AM


    To make it uneditable, you have to get your form's source code and then append 'readonly' to the textarea html line. Example:

    <textarea readonly id="input_3" class="form-textarea" name="q3_yes" cols="52" rows="10">Default Value</textarea>

    Result: http://idarktech.com/jotform/readonly_textarea.html

    Hope this helps. Let me know if you need further clarification. Thanks!

  • Profile Image

    Answered by Baleegh on May 28, 2012 at 08:05 AM

    Thank you moonzkie and idarktech


    It working good.