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 paste the modified scripts to the form source codes?

    Asked by d4v3g on November 13, 2013 at 10:59 AM

    This is exactly what I need for a Neighbourhood watch incident form, but I get stuck at the point where I'm supposed to paste the modified script below my form source code. It won't let me paste into the window in which the code is presented.

    What am I doing wrong?



    This is a re-post of a comment on Add Google Map Geolocation Marker to your Form

    form source source
  • Profile Image
    JotForm Support

    Answered by Welvin on November 13, 2013 at 01:32 PM

    Hi,

    You would need to copy the source codes from the Form Embed Wizard and paste it to any text editors you have. Example: Notepad++. Then start editing from there. After you add the custom codes, you will need to save the codes as an HTML File or embed it directly to your page.

    Example from the guide: https://shots.jotform.com/dinesh/sampleGeoMarker.html

    What's your form URL? We can help you about this matter, if you want.

    Thanks

  • Profile Image

    Answered by d4v3g on November 13, 2013 at 02:36 PM

    Thanks for the response.

    Is there any way of still hosting the form with Jotform, with the Google maps functionality added?

    Not desperate to embed it anywhere else.

    URL is http://form.myjotform.com/form/33163508799566

  • Profile Image
    JotForm Support

    Answered by ardy0689 on November 13, 2013 at 04:57 PM

    Hello, thanks for giving us your Form URL.

    If from the user guide, you mentioned that you failed to paste the code from the window. There are other alternative that you can paste your code still using the "Free Text(HTML)" tool.

     

    Please try the above suggestion and let us know if you are still having problem pasting your codes. Thank you

  • Profile Image

    Answered by d4v3g on November 14, 2013 at 12:11 AM

    OK, the problem I have is that the instructions for Adding the Geolocation marker said :

    "3. Get your form source code ..."

    I did that.

    "...and paste the modified script above at the bottom part of your form source code...."

    I can paste the code (using the Free HTML tool) at the bottom of the Free Text HTML block I created in Step 1, but I cannot find how to paste it at the bottom of the form source code as instructed AND save the form without having to take the code off into my own editor and embed it in a webpage somewhere else. 

    ...4. Embed your form."

    I don't want to do that - I want to be able to save the modified code back into Jotforms... is that possible?

    yourhelp is appreciated.

    rgds,
    Dave

  • Profile Image
    JotForm Support

    Answered by EltonCris on November 14, 2013 at 04:34 AM

    Hi Dave,

    Unfortunately that's not possible, sorry about that. The workaround requires you to take your form source code and host the modified file to your server. If you're worried about the hosting, you can try free web hosting like http://www.awardspace.com. You can find a lot more at google.

    For your convenience, I took your form source code and added the google map script. You can take your final form with google script code here. http://pastebin.com/raw.php?i=QMGTkEFg. Save it as html file e.g. form.html or you can embed it to anywhere you want.

    If you have further questions related to this, let us know here. Thanks!