-
glandoreghycAsked on April 15, 2015 at 5:43 PM
-
BenReplied on April 15, 2015 at 5:53 PM
The answer here can be yes and no - depending only on the code and if what has been done to it:
1. needs to be changed with every update
2. is something that is easy to do
3. requires specific knowledge (like scripting, CSS, etc)We always ask to have the final form ready in order to help with the embedding code if it is such that it would require some alterations.
Usually however the code alterations are not something that is hard to change by you or someone else and as such you should be able to make the change yourself.
In your case the only change in the iframe embed code was to add the min-height inline CSS property, because the conflict resized your form to a very small value.
In your case, this is the code:
<iframe frameborder="0" scrolling="no" style="width: 100%; height: 320px; min-height: 1600px; border: medium none;" src="//form.jotformpro.com/form/51022125385950" allowtransparency="true" onDISABLEDload="window.parent.scrollTo(0,0)" id="JotFormIFrame"></iframe>
<script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;case "collapseErrorPage":if (iframe.clientHeight > window.innerHeight) {iframe.style.height = window.innerHeight + "px";}break;case "reloadPage":window.location.reload();break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>and you will notice that this time I have highlighted only the part that was added by me.
When a change is made such as the above, you may only need to update the 1600 into some lower or higher number, depending of course what kind of changes you make on your form and if needed.
Of course, we are always happy to assist so if you are having any issues doing it yourself, do contact us and tell us about how we can help you.