- adriandinsdaleAsked on April 07, 2015 at 07:33 AM
When an entrant enters a coupon code, there is a message that the code has been successfully accepted. The problem I have is that this resizes the form and pushes down the 'Pay and submit' button at the bottom of the form so that part of it disappears.
Another point: once an entrant successfully completes the whole form and submits it, the 'Thank You' message is not displaying in its entirety.
Can you please advise?
- mikegultiaAnswered on April 07, 2015 at 09:31 AM
Please allow me to help you.
If I'm not mistaken, please correct me if I'm wrong, your issue is this:
In order for you to resolve this issue, one thing that you can do is remove the <script> part of your embedded iframe code.
or you can also re-embed your iframe code and instead of copying the whole code to your code, you can remove the <script> part first.
Once you're done with any of this, all you need to do next is adjust the height of the style attribute of your <iframe> to your preference and that should solve the issue.
For future references, you might also want check this documentation, How to Get the iFrame Code.
I hope I was able to help you.
- BenAnswered on April 07, 2015 at 11:02 AM
Looking at your website Adrian, I am not able to recreate the issue with the Thank you message. However there is a way to make sure that it is shown every time, and would be by adding the min-height property to the right size, like here:
<iframe frameborder="0" scrolling="no" style="width: 100%; border: medium none; height: 1450px; min-height: 180px;" src="https://secure.jotformpro.com/form/50485800172956" allowtransparency="true" onload="window.parent.scrollTo(0,0)" id="JotFormIFrame"></iframe>
This is what I saw:
As Mike mentioned about the issue with the form being cut, the solution would be to set its height manually and remove the script part. This would be the code in that case:
<iframe frameborder="0" scrolling="no" style="width: 100%; border: medium none; height: 1450px;" src="https://secure.jotformpro.com/form/50485800172956" allowtransparency="true" onload="window.parent.scrollTo(0,0)" id="JotFormIFrame"></iframe>
Do let us know if you have any further questions or issues and we would be happy to assist.