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

    Thank you page redirect to with in my server reports/report.html

    Asked by ljurado37 on November 09, 2015 at 05:10 PM

    I am creating a form "/index.html" where the text box input will be emailed to me and submit button will send you to a page within my server example /report.html. This form will be published in my web server in root directory.

    The problem I am having is that the thank you page url redirect requires http://FULLURL~~~~/~~~/report.html

    How can i tell the submit button to go to /report.html inside my server? 

    I am creating this form and publishing the code to a page index.html

    Page URL:
    https://form.jotform.com/53124469471154

  • Profile Image
    JotForm Support

    Answered by EltonCris on November 09, 2015 at 07:21 PM

    The Thank you - Custom URL requires full web page URL which includes http:// followed by your domain.

    Example:

    http://mywebsite.com/report.html

    You can't just input report.html, otherwise it will return to a 404 error page.

    --

    If you want to use just /report.html, then you have to create separate thank you page and have it redirect on that URL /report.html.

    Example:

    Your form -> thank you page -> redirect to /report.html

    This will help http://www.jotform.com/help/89-Create-a-Custom-Thank-you-page-with-Auto-redirect.

    If you need further assistance, do let us know.

  • Profile Image

    Answered by ljurado37 on November 12, 2015 at 06:05 PM

    My forms code will be published to dreamweaver then I am going to save this form as index.html and place it inside my web server folder http://mywebsite.com/reports/clientname/index.html

    Once someone visits http://mywebserver.com/reports/clientname/index.html and fills out the form and hits submit I want the submit button to send me the form input via email and then take you to report.html at http://www.mywebserver.com/reports/clientname/report.html

    So since the form=index.html page is inside my web server at /clientname/index.html and the report.html is at /clientname/report.html

    So since index.html and reports.html is going to be inside the same folder "/clientname" it should work but it doesn't. How can I do this?

    What I do is send out a link to client that the report is ready at http:/mywebserver.com/reports/clientname (client name changes in each email)

    Then I upload the report.html to http://www.mywebserver.com/reports/clientname

    and I upload the form index.html page to http://www.mywebserver.com/reports/clientname

    When client clicks link in email to view report they see my index.html form at http://www.mywebserver.com/reports/clientname they fill out the form, hit submit and it takes them to the report.html page.

    If the submit button cannot just simply take the user to /report.html then i would need to create a new form for every single client and specify the submit page to be http://mywebserver.com/reports/clientname1

    http://mywebserver.com/reports/clientname2

    http://mywebserver.com/reports/clientname3, 4,5,6,7,8,9 etc...

    I dont want to do that. I just want the form submit button to take the user to /reports.html; it should work since the form=index.html page is inside the same folder but it doesnt.

    How can I do this. I hope you understand?

  • Profile Image

    Answered by ljurado37 on November 12, 2015 at 06:08 PM

    My forms code will be published to dreamweaver then I am going to save this form as index.html and place it inside my web server folder http://mywebsite.com/reports/clientname/index.html

    Once someone visits http://mywebserver.com/reports/clientname/index.html and fills out the form and hits submit I want the submit button to send me the form input via email and then take you to report.html at http://www.mywebserver.com/reports/clientname/report.html

    So since the form=index.html page is inside my web server at /clientname/index.html and the report.html is at /clientname/report.html

    So since index.html and reports.html is going to be inside the same folder "/clientname" it should work but it doesn't. How can I do this?

    What I do is send out a link to client that the report is ready at http:/mywebserver.com/reports/clientname (client name changes in each email)

    Then I upload the report.html to http://www.mywebserver.com/reports/clientname

    and I upload the form index.html page to http://www.mywebserver.com/reports/clientname

    When client clicks link in email to view report they see my index.html form at http://www.mywebserver.com/reports/clientname they fill out the form, hit submit and it takes them to the report.html page.

    If the submit button cannot just simply take the user to /report.html then i would need to create a new form for every single client and specify the submit page to be http://mywebserver.com/reports/clientname1

    http://mywebserver.com/reports/clientname2

    http://mywebserver.com/reports/clientname3, 4,5,6,7,8,9 etc...

    I dont want to do that. I just want the form submit button to take the user to /reports.html; it should work since the form=index.html page is inside the same folder but it doesnt.

    How can I do this. I hope you understand?

  • Profile Image
    JotForm Support

    Answered by EltonCris on November 12, 2015 at 08:49 PM

    Yes, that's also possible. But like on the guide I have sent you earlier, you have to create a separate thank you page where users will be initially forwarded to and that thank you page will redirect the user to the final thank you page (report.html). You can achieve this by using the following custom PHP script.

    <?php    

    header('Location: report.html');    

    ?>

    Save this PHP file e.g. redirect.php and upload it to your server. Then set it as your form thank you page.

    Example:

    So when the form is submitted, it will redirect to report.html on the same folder.

    If you need more clarifications, let us know.

  • Profile Image

    Answered by ljurado37 on November 13, 2015 at 12:58 AM

    Please clarify further.

    Your suggestion does not work.

  • Profile Image

    Answered by Sammy on November 13, 2015 at 05:35 AM

    What my colleague meant is that you will need to create a PHP file in you site and add the above code which will redirect to the report.html page.

    You will then pass it the link to this PHP file in you thank you page URL field.

    One more question is the folder http://www.mywebserver.com/reports/clientname changing dynamically or is it a fixed name folder?

    if that is not the case you can just add he link http://www.mywebserver.com/reports/clientname/report.html to the thank you page