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

    Can I embed a City->street function?

    Asked by sklayman on May 30, 2011 at 02:16 PM


    Hi, I would like to implement in the form a function with the names of the cities in my country, and once a city is choosen, a list with the streets at this city will be opened. In case I have those functions, can they be embedded?



  • Profile Image
    JotForm Support

    Answered by NeilVicente on May 30, 2011 at 05:51 PM

    Hello Shai,

    If you mean a JavaScript function, then no, it cannot be possible. The Form Builder strips out any JavaScript code added by the user to prevent further complications resulting from inserting different functions that may clash with Jotform's built-in functions.

    However, you can bypass this by modifying the form's source code before embedding.

    To get your form's source codes:

    1.  Go to Setup & Embed tab
    2.  Click Embed Form
    3.  Click Source

    4.  Copy the codes provided in the next screen


    Hope you find my answer helpful. Let me know if there's anything else you need to ask. Thank you.