My Forms > View Form: Not working for Custom URL forms

  • Profile Image
    Asked on October 21, 2016 at 04:13 PM

    Hi, thanks for the quick support. My "View Form" button resolves to :



    but it's a blank page, no form is displayed


    here is the source code of the page:




    function getParameterByName(name)


     name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");

     var regexS = "[\\?&]" + name + "=([^&#]*)";

     var regex = new RegExp(regexS);

     var results = regex.exec(;

     if(results == null)

       return "";


       return decodeURIComponent(results[1].replace(/\+/g, " "));



    // when popup is blocked, chrome executes these scripts so we need to check for window inner height


    if (window.innerHeight !== undefined || window.innerHeight != 0)



    var targetDestination = getParameterByName("target");


    if(targetDestination.toLowerCase().startsWith('http://form.jotform') || targetDestination.toLowerCase().startsWith('https://form.jotform'))

    window.location.href = getParameterByName("target");





  • Profile Image
    Answered on October 21, 2016 at 04:21 PM

    The issue has been escalated to our developers.

    We will let you know once it is fixed.

  • Profile Image
    Answered on October 25, 2016 at 02:38 AM

    Hi veshman,

    Sorry for the inconvenience caused. The problem should be fixed now.

    If you have any further questions please do not hesitate to contact us.

  • Profile Image
    Answered on October 25, 2016 at 07:12 PM