My form redirects to a captcha field after submit

  • krunalc
    Asked on August 4, 2015 at 7:47 AM

    When I submit a form, it goes on http://submit.jotform.me/submit.php and asked for enter captcha. After adding captcha, it will redirect on thank-you page.

    My question is that when I submit form, it will not go on http://submit.jotform.me/submit.php for asking captcha, It will redirect on thank-you page.

    Please check below URL for the same.

    http://tfy.info/e-intelligence-new/

    Click on 'Free Consultation' button on the top right corner, A pop up will be appear. Please fill the form and check it.

     

     

    Jotform Thread 627774 Screenshot
  • Welvin Support Team Lead
    Replied on August 4, 2015 at 10:50 AM

    You are currently using our source codes method and it is most likely because of a script conflict. You should be able to fix that by re-embedding the form using our iframe method: 

    http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code

    Thanks

  • krunalc
    Replied on August 5, 2015 at 3:12 AM

    Hello,

    Thanks for the reply.

    I am using your source code because I changed form design using CSS. So I use your iframe method than how can I change design? 

  • Charlie
    Replied on August 5, 2015 at 4:03 AM

    If you want to change the form's design, you can still do that by using custom CSS code and adding it directly in your form using the Form Designer Tool.

    Here are some guides regarding the CSS editor:

     

    Online Form Designer

    You can also use the default embed code, but if you are still having code conflict even using that one, you might need to use the iFrame code as mentioned by my colleague.

    My form redirects to a captcha field after submit Image 1 Screenshot 20

     

    Let us know if that helps.

  • krunalc
    Replied on August 5, 2015 at 4:44 AM

    Hello,

    I want to change div structure. So I am using source codes method. I created two forms and both forms are use in the same page. When I submit the form it goes on http://submit.jotform.me/submit.php and asked for enter captcha. After adding captcha, it will redirect on thank-you page.

    My question is that when I submit form, it will not go on http://submit.jotform.me/submit.php for asking captcha, It will redirect on thank-you page.

    If I use single form than it will directly redirect on thank you page.

     

    Please let me know why this happen?

  • abajan Jotform Support
    Replied on August 5, 2015 at 5:45 AM

    Upon examining the source of your web page I noticed that you had commented out the CAPTCHA field but when I checked the form at its own URL, I didn't see any such field. So, I realized that the code embedded on your page must have been from an earlier version of the form and sure enough, when I went into your JotForm account and checked the form's history I saw that it indeed had a CAPTCHA field yesterday:

    My form redirects to a captcha field after submit Image 1 Screenshot 20

    One disadvantage with using the full source method to embed a form is that it will not reflect the changes made in the form builder. (Please see this guide which compares the various embed metods.) This means that each time you make a change in the form builder, you would need to replace the old code in your web page with the updated code provided in the Embed Form Wizard. This is exactly what you'll need to do to get rid of the request to enter a CAPTCHA. Unfortunately, just commenting out the CAPTCHA portion from the older version of the form code will not suffice.

    If you need further help with this, please let us know.

    Thanks

  • krunalc
    Replied on August 5, 2015 at 7:02 AM

    Hello,

    I used the source codes method and keep code as same as I download. Just I had to change only div structure in both forms on the home page. 

    Now when I submit the form it again redirects to the http://submit.jotform.me/submit.php and asked to enter captcha.

    Now can you tell me how can I changed div structure without using source codes method so I can resolve this issue.

  • Chriistian Jotform Support
    Replied on August 5, 2015 at 8:30 AM

    Hi,

     

    Based on my colleague's previous answer, you will need to download again the latest source code of your form so changes on your form would be reflected on your site. You will then also need to modify again the source code and implement the div structure you want.

     

    May we know why do you need to change the div structure of your form? So we can suggest another way to implement it on your form using JotForm and so you can use other embed code method.

     

    We will wait for your response.

     

    Regards. 

  • krunalc
    Replied on August 5, 2015 at 9:24 AM

    Hello,

    I had already downloaded source code of both form and keep it in the page. Then I had changed the div structure. When I submit a form than it redirects to http://submit.jotform.me/submit.php.

    If I remove any one form from the page and tried to submit it than it redirects to the thank-you page successfully.

    I need to change the div structure as per requirements of my client. And also error message will not appear below field.

    Can you suggest me any other way?

  • Charlie
    Replied on August 5, 2015 at 10:41 AM

    To confirm, you are embedding 2 forms in one page? Both forms are using full source code? Is that correct?

    Because you mentioned that when you remove the other form, you won't get the captcha right?

    The reason for the captcha I believe is that you are embedding two forms using their full source code, they are conflicting one another, they are using both resources, there's also a possibility that it conflicts your website's code. If you want to avoid conflicts, you could try using the jQuery noConflict.

    But I would suggest embedding the other form in a different page to avoid conflict with the other. OR you can paste the other form's full source code on a separate page BUT call it on an iFrame on your home page. Here's how you can call your external code on an iFrame: http://www.w3schools.com/html/html_iframe.asp.

    I hope that helps.

     

  • krunalc
    Replied on August 6, 2015 at 12:56 AM

    Hello,

    I also want to send country name of user, date and time, page url in sending email.

    Is there a way to send these? Please informed me.

  • Charlie
    Replied on August 6, 2015 at 1:48 AM

    @krunalc

    It seems like the follow up question you have is different from the original topic we have here, to better assist you and avoid confusion, I went ahead and opened a separate thread for it, please refer to this link instead: http://www.jotform.com/answers/630416. We will address it shortly.

    Thank you for understanding.