Can i replace iframe with div tags ?

  • Profile Image
    jotforblogger
    Asked on February 19, 2016 at 02:01 PM

    Hi,

    I just create a new form and now i want to replace <iframe... tags with <div> tags in HTML. Is there a way to do this job, can anyone help me..

    Preview: http://www.urgentfiles.com/p/contact.html

  • Profile Image
    Nik_C
    Answered on February 19, 2016 at 04:18 PM

    Hi,

     

    IFrame is used as embedding method on Jotform forms. It is an HTML document embedded in another html document. You can't edit that page's source. What you can do, if you want to edit your form's source code is download your whole form's source.

    You can do that by clicking on Publish button.

     

    A menu will appear where you can choose what type of embedding you want.

    1.Click EMBED 

    2.Choose Source Code option from Embed Options.

    3.Click on DOWNLOAD SOURCE CODE button.

    A download of an archive should start.

    In archive you downloaded is source code of your form. 

    You can change your form's code in any way you want. Be careful not to change  name properties in your form's html, it will break your form's submissions.

    When you finish editing your form's source you need to re-embed it to your website.

    Please note that if you choose this method you will have to re-embed your form on every change of form's source code.

    I hope this solves your problem

     

    Best regards