Can I embed a City->street function?

  • Profile Image
    sklayman
    Asked on May 30, 2011 at 02:16 PM

    Hi,

    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?

    Thanks,

    Shai

  • Profile Image
    NeilVicente
    Answered 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.


    Neil