Why Does it not pass W3c validator ?

  • Profile Image
    Villalumiabali
    Asked on January 03, 2014 at 11:56 PM

    Hi,

     

    I have a jotform form on my website:

     

    http://www.villalumiabali.com/contact-booking.html

     

    Unfortunately when I test it with W3C validator it shows 3 errors...

     

    Any way to help ? Could you please provide a new working script?

  • Profile Image
    EltonCris
    Answered on January 04, 2014 at 09:04 AM

    Hi,

    There are 3 obsolete attributes on the form iframe code according to W3c. This can be easily removed on your iframe embed code if W3c is your main concern. To fix that, you can re-embed your form with the following iframe embed code. (The following code does not have allowtransparency, scrolling and frameborder attribute anymore).

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" src="//www.jotform.us/form/21250823644145?wmode=transparent&amp;amp;wmode=transparent" style="width:100%; height:801px; border:none;" name="JotFormIFrame"></iframe>

    Now revalidate it, it should give you the following result.

    Thanks!