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 to show in my form the number of followers for Twitter , in a non editable field ?"

    Asked by lopeze on August 03, 2012 at 07:23 AM

    Hi, I have this javascript code:


    red;"> followers on Twitter


    I want to put in my form a not editable field that when the user writes his Twitter account (without the @) in another field, the number of followers of this account appear in the not editable field with this code. It's possible?


    Page URL:

  • Profile Image
    JotForm Support

    Answered by NeilVicente on August 03, 2012 at 10:50 AM

    This can only be accomplished by modifying the form's source code, implementing your custom JavaScript on it, then hosting the form on your own server.

    To be honest, I am not quite familiar with Twitter's API so I don't think I can help you with this. Also, this is a little out of our scope as JotForm support staff.

    Perhaps another JotForm user, or one of our able colleagues, might have something to contribute to this topic.

  • Profile Image

    Answered by lopeze on August 04, 2012 at 07:15 PM

    OK. Thanks!

  • Profile Image
    JotForm Support

    Answered by liyam on August 05, 2012 at 07:15 PM

    Hello lopeze. You can try copying this code I created: http://liyam.comuf.com/jotform/twitter2.txt2

    Note: An IP can only make a request lower than 150 times per hour.  Going beyond that will make twitter block you temporarily.

    Also, the whole form is the part right within the <body> </body> tags.  Simply delete those and replace it with your own form.

    Another thing: 

    1. If your text input (for entering twitter username) does not have the ID input_1, then simply get the ID from your form, and then replace the all input_1 values in the script code with the new ID. 

    2. The counter appears at input_3 in my form.  If it's different in your form, just replace input_3 with the new textbox ID in the script

    If you need further clarification, please let us know.

  • Profile Image

    Answered by lopeze on August 06, 2012 at 06:15 AM

    OK, I have done this, but I don't know how integrate this code in my form...

  • Profile Image

    Answered by jeanettebmz on August 06, 2012 at 02:16 PM


    First of all , and as adviced by Neil, you would need to download your form's source code , then apply the solution that Lyam has indicated.

    You would need to insert such javascript code within the <head> tags ,   your form's source code should be after </head>  within the body tags