How to paste the modified scripts to the form source codes?

  • Profile Image
    d4v3g
    Asked 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

  • Profile Image
    Welvin
    Answered 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
    d4v3g
    Answered 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
    ardy0689
    Answered 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
    d4v3g
    Answered 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
    EltonCris
    Answered 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!