Title: Height problem
Last modified: November 1, 2023

---

# Height problem

 *  Resolved [pexel](https://wordpress.org/support/users/pexel/)
 * (@pexel)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/)
 * Hello:
   When I run the code below on another site, the height appears at half.
   I have to enter the height value. This is very difficult in every form.
 * How can we edit the code so that the height setting is 100%?
 * thanks
 *     ```wp-block-code
             <iframe src="https://www.pexpe.com/?cff-form=15" style="width:100%; height:100% overflow: hidden; border: none;" scrolling="no"></iframe>
       ```
   

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/topic/height-problem-7/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/height-problem-7/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/height-problem-7/page/2/?output_format=md)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17166837)
 * Hello [@pexel](https://wordpress.org/support/users/pexel/)
 * When you assign 100% height to a tag, it takes 100% of its parent height and 
   not 100% of the page. For iframe tags, it does not display 100% of the contained
   page.
 * Could you please indicate the link to the page where you inserted the iframe 
   tag?
 * Best regards.
 *  Thread Starter [pexel](https://wordpress.org/support/users/pexel/)
 * (@pexel)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17166863)
 * So, do you have any solution suggestions?
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17166865)
 * Hello [@pexel](https://wordpress.org/support/users/pexel/),
 * There are different alternatives, but they depend on the page’s structure. For
   this reason, I asked for the page’s URL.
 * Best regards.
 *  Thread Starter [pexel](https://wordpress.org/support/users/pexel/)
 * (@pexel)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17166908)
 * I page : [Hesaplama](https://www.pexpe.com/kidem-tazminati-hesaplama/)
 *  If you click the blue button *Sitene Ekle* at the bottom of the form, our code
   opens.
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17167114)
 * Hello [@pexel](https://wordpress.org/support/users/pexel/)
 * You don’t need to insert the iframe tag.
 * Please insert only the form shortcode with the iframe attribute:
 *     ```wp-block-code
       [CP_CALCULATED_FIELDS id="15" iframe="1"]
       ```
   
 * Best regards.
 *  Thread Starter [pexel](https://wordpress.org/support/users/pexel/)
 * (@pexel)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17167205)
 * Let’s add this code instead of the blue button. Will it work on the opposite 
   site with this code?
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17167225)
 * Hello [@pexel](https://wordpress.org/support/users/pexel/),
 * You can insert the shortcode into a DIV tag hidden by default and use the button
   to display the DIV field.
 * The shortcode with the iframe tag will work on your website because it has installed
   the plugin, but you cannot use this solution on a third-party website.
 * Best regards.
 *  Thread Starter [pexel](https://wordpress.org/support/users/pexel/)
 * (@pexel)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17167244)
 * I understand now.
   It’s like this:For example, the Eyüpsultan site uses the code
   I gave. So when I give the height auto 100% it doesn’t work. on a 3rd party site.
 * Opposite site: [Eyüpsultan](https://eyupsultan.com.tr/kidem-tazminati-hesaplama/)
 * What I want to ask is, do we have to manually enter the height on the other party’s
   site? Or is there a different method?
 * Thanks
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17167283)
 * Hello [@pexel](https://wordpress.org/support/users/pexel/),
 * If you want to insert the iframe directly into a third-party website, you must
   enter the height in px:
 *     ```wp-block-code
       <iframe src="https://www.pexpe.com/?cff-form=15" style="width:100%; height:600px; overflow: hidden; border: none;" scrolling="no"></iframe>
       ```
   
 * Best regards.
 *  Thread Starter [pexel](https://wordpress.org/support/users/pexel/)
 * (@pexel)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17167368)
 * thanks 🙏
 *  Thread Starter [pexel](https://wordpress.org/support/users/pexel/)
 * (@pexel)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17174632)
 * i got it done
    -  This reply was modified 2 years, 7 months ago by [pexel](https://wordpress.org/support/users/pexel/).
 *  Thread Starter [pexel](https://wordpress.org/support/users/pexel/)
 * (@pexel)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17181422)
 * Hello;
   I have 1-2 questions in my mind. I would be glad if you can help me.1)
   Let’s say another site added our code via iframe. Is it possible to see which
   site this site is?2) Can we analyze the traffic coming to the main site through
   the form attached to the opposite site?3) Are there different methods other than
   iframe?
 * Thanks.
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17181788)
 * Hello [@pexel](https://wordpress.org/support/users/pexel/)
 * Q: Let’s say another site added our code via iframe. Is it possible to see which
   site this site is?
 * A: An external website’s domain can include your form via iframe only if you 
   allow it from server settings.
 * Q: Are there different methods other than iframe?
 * A: In the current plugin version you can use only the iframe method.
 * Q: Can we analyze the traffic coming to the main site through the form attached
   to the opposite site?
 * A: If your form is in domain A and it is loaded from domain B via iframe, you
   cannot access the parent. However, you can insert a calculated field in the form
   as an auxiliary (You can hide it by ticking a checkbox in its settings) and enter
   an equation similar to:
 *     ```wp-block-code
       document.referrer;
       ```
   
 * Best regards.
 *  Thread Starter [pexel](https://wordpress.org/support/users/pexel/)
 * (@pexel)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17182065)
 * Could you please show the answer to question C with a visual?
 * What will be the return to us in this way? I didn’t fully understand, thank you
   very much
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/height-problem-7/#post-17182378)
 * Hello [@pexel](https://wordpress.org/support/users/pexel/)
 * The process is simple. Insert a calculated field in the form and enter the piece
   of code below through its “Set equation” attribute:
 *     ```wp-block-code
       document.referrer;
       ```
   
 * Best regards.

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/topic/height-problem-7/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/height-problem-7/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/height-problem-7/page/2/?output_format=md)

The topic ‘Height problem’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 31 replies
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/height-problem-7/page/3/#post-17320301)
 * Status: resolved