What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

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

    Asked by veshman 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(window.location.search);

     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
    JotForm Support

    Answered by Mike 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
    JotForm Developer

    Answered by evren 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 by veshman on October 25, 2016 at 07:12 PM