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

    Drop Down entries read from text file

    Asked by Career_at_BOR on March 07, 2016 at 04:12 PM


    I have designed a Jotform for recruiting candidates in my company. Time to time, there are different kinds of vacancies available in my office. I have a Drop Down list in my Recruitment Form which lists all the available vacancies at a given time. The candidates can select the job they are applying when filling the form.

    Every time I have new or different vacancies, I manually edit the items in the Drop Down list so that candidates can apply to available jobs. I want to automate this process in this way :

    I store a text file in my computer where I just enter the name of vacancies currently available. There should be an app/widget that reads the currently available vacancies from text file and populate the items of my Drop Down list. This way, I don't have to edit my Jotform Drop Down list. All what I have to do is to update a simple text file.

    I think this could also be done by editing the Source Code of my Jotform. However, I have no experience of Javascript/CSS/HTML and therefore, cannot do it there.


    Could you suggest me an app/widget that can help me with this. Or any different suggestion to get it done.

    Hope to get your reply soon.

    Have a good day.


  • Profile Image
    JotForm Support

    Answered by Chriistian on March 07, 2016 at 08:48 PM

    Unfortunately, we do not have a app or widget that allows you to read the currently available vacancies from text file and populate the items to your Drop Down list. You'll need to manually add the list of items in your form.

    We do have some drop down widgets that you can check. You can find them on this page: http://widgets.jotform.com/. Here's a "User Contributed Drop down" widget that allows your users to add an option in the drop down field.

    Another possible way is to use the form's full source code, create a custom script that will pre-populate your options list from a text file source. However, you'll need to embed the form's source code on a web page/server and you'll need to develop or hire a developer that will create the custom script. 

    Here's a guide on how to get the full source code of your form: How to get the Full Source Code of your Form

    And here are some discussions about it: http://stackoverflow.com/questions/14857054/populating-drop-down-menu-from-comma-delimited-text-file?answertab=active#tab-top.


    You can try loading the text file using JSON.

    Hope that helps.