Embedding Forms | Embed a form using iframe - Zoho Forms

Embed a form using iframe

Your website layout and the theme used will affect how your form appears in your web page. You can embed your form as a frame on your webpage using the code we provide. We calculate the height and the width of your form based on the container in which you embed the form.

To get the code to embed your form as a frame,
  1. In your form builder, navigate to Share > Embed iframe.
  2. Copy the code provided and embed it on your webpage.
Embed a form using iframe


To edit the height and width, you can edit in the code with the desired height and width in px.

For example:

The code we have provided:

You can change it as given below:
This will make your form load with the desired height and width as per attribute value. 

You can track referrals to know which website your respondents found your form from and also prefill your embedded forms to make the form filling experience simpler for your website visitors.

How to embed a form with webcam option in Image Upload field?

If your embedded form has an Image Upload field, respondents will not be able to capture pictures using the webcam. To allow this, you must include the following in the embed code:
  1. allow="camera"
  2. ?zf_enablecamera=true
For example:
<iframe frameborder="0" style="height:500px;width:99%;border:none;" allow="camera" src= "https://forms.zoho.com/zylker/form/TravelRequestForm/formperma/1d2ld7jUoGDLINcnloYo2R_VOPJGeUSGtSq5WWDf3sc?zf_enablecamera=true"></iframe>

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION





                        Still can't find what you're looking for?

                        Write to us:  support@zohoforms.com


                                



                            





                          Manage your brands on social media




                              Zoho Marketing Automation

                                Zoho Sheet Resources

                                 




                                    Zoho Forms Resources


                                      Secure your business
                                      communication with Zoho Mail


                                      Mail on the move with
                                      Zoho Mail mobile application

                                        Stay on top of your schedule
                                        at all times


                                        Carry your calendar with you
                                        Anytime, anywhere




                                              Zoho Sign Resources

                                                Sign, Paperless!

                                                Sign and send business documents on the go!

                                                Get Started Now





                                                        Zoho TeamInbox Resources



                                                                Zoho DataPrep Resources



                                                                  Zoho DataPrep Demo

                                                                  Get a personalized demo or POC

                                                                  REGISTER NOW


                                                                    Design. Discuss. Deliver.

                                                                    Create visually engaging stories with Zoho Show.

                                                                    Get Started Now










                                                                                          • Related Articles

                                                                                          • Embed options in Zoho Forms - Which one to choose?

                                                                                            Embedding your form on your website or blog is another way of reaching out to people. Use the code we have provided to embed your forms anywhere on your webpage. You can embed your form using: iframe: This option allows you to embed the form as a ...
                                                                                          • Embed a form using JavaScript

                                                                                            A JavaScript code helps you to embed a form in your website as a part of your webpage. Unlike iframe, this option will embed the form as a page element and not as an external resource. You can choose to auto-resize or set custom height for your form ...
                                                                                          • Embed a form using HTML/CSS codes

                                                                                            To further modify and customize the forms which you wish to embed in your website, you can download your form as a plain HTML file or a HTML with CSS file.  To do so,  In your form builder, go to Share > Embed > HTML & CSS. Click Generate Code to ...
                                                                                          • Embed a form as a Lightbox pop-up

                                                                                            Lightbox form is a pop-up that overlays the webpage, when the user engages with your webpage . This helps in drawing the attention of your website visitors to the form. For example, if you require your customers to subscribe to your newsletter to ...
                                                                                          • Embedding forms on a WordPress website

                                                                                            WordPress is a free website creation platform. If you are using Wordpress to build your website, you can embed your Zoho Forms form as follows: For WordPress 5.0 and above In your Zoho Forms account, create a form for your WordPress site. Install and ...
                                                                                          Wherever you are is as good as
                                                                                          your workplace

                                                                                            Resources

                                                                                            Videos

                                                                                            Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                            eBooks

                                                                                            Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                            Webinars

                                                                                            Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                            CRM Tips

                                                                                            Make the most of Zoho CRM with these useful tips.



                                                                                              Zoho Show Resources