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

    Redirect to URL condition not working

    Asked by NLRdance on July 28, 2017 at 06:34 PM

    I have a condition set up so that if a user enters a certain word it redirects them to a particular url page and for the life of me I can't figure out what's wrong but its redirecting to the wrong page

  • Profile Image
    JotForm Support

    Answered by BJoanna on July 29, 2017 at 01:55 AM

    You have only one redirect condition and it is working properly. 

    If the code is equal to Caleyb07, the users will be redirected to this page.

    If any other code is entered the users will be redirected to the custom page that you have created. 

    Were you able to resolve your issue?

    If not please tell us to which page you want to redirect your user when the code is equal to Caleyb07 and to which page you want to redirect them is some other code is entered.

    You can also check this guides:

    Change Thank You Page URL Based on a Condition

    Setting up the Thank You Page

    Redirecting Users to a Different Page

  • Profile Image

    Answered by NLRdance on July 29, 2017 at 09:16 PM

    I'm not sure why on your end its showing for the first condition that it should redirect to jotform.com/thankyou but this is what my end is showing (and what is should be)

     

    It should be redirecting to https://tocarroll17.wixsite.com/nlrschoolofdance/torie-carroll

  • Profile Image
    JotForm Support

    Answered by liyam on July 30, 2017 at 01:38 AM

    I checked your form and made a test submission and it is set to redirect to the link that you have set.

    Can you try again and let us know if the problem persists?

    Thanks.

  • Profile Image

    Answered by NLRdance on July 31, 2017 at 01:43 AM
    It is not redirecting on my end. If I enter in something other than
    Caleyb07, yes it gives the correct message, however if I put in Caleyb07 it
    doesn't redirect.
    This does not work on the preview form or on the site I have it embedded
    to. You can check the embedded version here
    https://tocarroll17.wixsite.com/nlrschoolofdance/view-my-balance
    ...
  • Profile Image
    JotForm Support

    Answered by ashwin_d on July 31, 2017 at 04:46 AM

    Hello NLRdance,

    I did test your embedded form and it only displays a blank black screen after the form is submitted. I am not sure what is causing this issue but looks like the issue is related to redirected URL which is not displaying the guest login textbox. When I tested your form with its direct URL, your form seems to work as expected. 

    Can you please set your form to redirect to a some other page or form and see if it displays correctly in embedded form?

    We will wait for your response.

    Thank you!

  • Profile Image

    Answered by NLRdance on July 31, 2017 at 11:43 AM
    Hi,
    Yes I've tried this as well and it still doesnt redirect. You can try
    it again, it is currently set to redirect to google and is still giving a
    blank page.
    ...
  • Profile Image
    JotForm Support

    Answered by ashwin_d on July 31, 2017 at 01:11 PM

    Hello NLRdance,

    I did check your webpage where you have embedded your form and found that browser console show error message related to blocked cross-origin frame. Please check the screenshot below:

    I would suggest you to please let us know the embed code which you have used to embed your form in your webpage and we will take a look.

    We will wait for your response.

    Thank you!

  • Profile Image

    Answered by NLRdance on July 31, 2017 at 03:43 PM
    Below is the code I used. I just went to platforms and copied the wix code
    ...
  • Profile Image
    JotForm Support

    Answered by jonathan on July 31, 2017 at 05:31 PM

    I also test submitting your form on your website and so far it was working as it should. You can check the video below of my test.

    What I did notice though is that your wix website is preventing the redirection to external URL. This was the reason it was not able to load the Google website.

    What I suggest you try also is to re-embed the form using its iframe code only.

    User guide: Getting-the-form-iFrame-code

    Check if using the iframe embed code resolves the issue. Let us know if not.

     

  • Profile Image

    Answered by NLRdance on July 31, 2017 at 06:43 PM
    Just tried using the iframe and still nothing. But even on jotform when I
    preview the form, if I put in Caleyb07 it isn't redirecting
    ...
  • Profile Image
    JotForm Support

    Answered by jonathan on July 31, 2017 at 07:58 PM

    It was redirecting successfully when using the form https://www.jotform.us/form/72086225687161  directly or not embedded.

    See video of my test:

     

    Can you please take a screenshot of the problem as well. It will help us understand more the issue if we can have a visual of how the redirection appears on your side.