my jotform doesnt seem to work on my xhtml websites

  • exsanguinator
    Asked on September 20, 2015 at 9:26 AM

    hi im using Kompozer to make a simple website

    Im using jotform for an older Kompozer built html site and I just used the embed code and its still working fine while i test my new xhtml sites

    What i have found is that i can only use the source code, if i want to see the jotform displayed in my new xhtml sites,but upon typing in it,to test it, it doesnt send anything... unlike on my old html site which still works fine.

  • Chriistian Jotform Support
    Replied on September 21, 2015 at 1:53 AM

    Hi,

     

    I checked the site you provided and tried to submit the form from your website but I was able to replicate the issue. I was not able to submit the form. When I clicked submit nothing happens. Is it possible for you to embed your form using the iFrame embed method? To get the iFrame code of your form, just follow the instruction provided in this article: Getting the Form iFrame Code.

     

    Do get back to us if the issue still persists.

    Regards.

  • exsanguinator
    Replied on September 21, 2015 at 3:06 AM

    I've tried the iframe code and it shows nothing, exactly like the embed code 

    That's why I left the source code there so at least there is something to look at

     

  • exsanguinator
    Replied on September 21, 2015 at 10:20 AM

    I thought I read that the embed code updates automatically 

    I updated my jotform and thank you page,but my old site is still using the old jotform,even though ive saved the new version 

  • KadeJM
    Replied on September 21, 2015 at 2:17 PM

    The embed code should update automatically whereas the source code if you had used that then no that is not automatic and you would have to re-embed the source code.

    When neither are working properly then that most likely then means there's a possibly conflict between the form and your site running scripts. Alternatively it could also happen if remnants of your previous script were accidentally left in though it is important to only use one form method to embed your forms and not multiple. So for those type of issues we recommend the iframe as suggested above instead since it prevents and often runs without those issues occurring.

    From what I can see your form appears to be working on my end as well. 

    If this is still an issue then would you please tell us what Browser|Browser Version you are using which you are still seeing this issue occur on?

    my jotform doesnt seem to work on my xhtml websites Image 1 Screenshot 20

  • exsanguinator
    Replied on September 21, 2015 at 2:46 PM

    there's no forms inserted till now.im using Firefox ver 39 or so,but I doubt thats the prob as someone else had the same prob when they visited my site and couldnt send.

    Ive asked this question at my host support,they dont give code support,but he offered a bit of info and said the mail() codes in the form script are not standard and said to contact jotform for support. 

     im no developer or pro,so I dont know how to solve this 

  • exsanguinator
    Replied on September 21, 2015 at 3:00 PM

    Is my source code in the right place,as I thought source css code should be at the begining of the code area,where as the embed code should be put where you want it in the html code

    But that doesn't explain why the embed code doesn't work 

  • KadeJM
    Replied on September 21, 2015 at 4:42 PM

    Typically when you are embedding the source code the scripts and css would go in the top of your website in between your websites headers are and the main part of your form can go down in the the body of the site.

    Have you done anything to modify the source at all?

     

    It's important to also check the embedded source code to make sure that when you added it nothing was left out or went missing since that can also add to the problem at hand.

  • exsanguinator
    Replied on September 22, 2015 at 1:17 AM

    I'll try and split the source code by putting the css at the top and the code where I want the form to be

    But it doesn't explain why the embed code doesn't work as that is a simple script where it is placed

  • exsanguinator
    Replied on September 22, 2015 at 1:18 AM

    tried it and still no joy.

    Ive wasted too much time fiddling around and getting nowhere....

    so I just converted the whole page to html,inserted the embed code...works like a charm

    I'll leave the rest of the site as xhtml

    It seems jotform doesnt work in xhtml then?

    Thanks to everyone who tried to solve my problem

    regards

     

  • Boris
    Replied on September 22, 2015 at 9:24 AM

    We are sorry to hear that none of the solutions worked on your XHTML website, but are glad to hear that using regular HTML resolved the problem for you.

    If you experience any such problems in the future, it is generally a good idea to run your page through the W3C validator, and see if there are any errors popping up that might explain it not working:

    https://validator.w3.org/

    I have embedded and tested several forms, including the iFrame embedded ones, and they all worked fine for me in Firefox on an XHTML page. I've used the following doctype and HTML opening tag:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    I hope this helps. If you are happy with it working on your HTML page, it may be best to leave it as such then. Please let us know if you need any other assistance, and we will be happy to help.