Why the pre-populate date field "fechalimite" work with data provided in internet explorer and not in google chrome?

  • Profile Image
    Asked on September 05, 2014 at 11:29 AM

    <iframe id="JotFormIFrame" onload="self.scrollTo(0,0)" allowtransparency="true" src="http://form.jotformz.com/form/42405501750646?fechalimite[month]=05&fechalimite[day]=10&fechalimite[year]=2014" frameborder="0" style="width:100%; height:1571px; border:none;" scrolling="no"></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;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

  • Profile Image
    Answered on September 05, 2014 at 01:42 PM

    Have you tried our app http://prepopulate.jotform.io/?

    I just used it and generated the URL with pre-populated date field , and it works OK in Chrome.



  • Profile Image
    Answered on September 06, 2014 at 12:12 PM

    Yes, its work, but the date field is hidden.  When i use the App, hidden fields are hidden!.  When the field is hidden the form dosn't work (hidden field is blank) and if it is not hidden its work but when you hide the field is blank again

    Sorry for my english.

  • Profile Image
    Answered on September 06, 2014 at 04:52 PM

    It is hidden because that's what the hidden fields are intended to do even when using the app as Jeanette had previously pointed out since that works. 

    I tested this on your form but it's showing up blank in both chrome and ie for me but I see you have tried to populate it as above if perhaps that might have been what you meant?

    I was testing this further and when I dug into your form more I discovered you have some conditions tied to it that appear to be causing it to not be working right.

    Even if you attach a populated parameter to it because it has a condition attached it would still be ignored since the condition would automatically override that unless the rules are met.