Why does a captcha form appear...?

  • MarkCreasey
    Asked on November 2, 2015 at 11:59 AM

    Sometimes when a form is submitted I am taken to a Captcha page before the thank you. Is it possible to stop this?

  • MarkCreasey
    Replied on November 2, 2015 at 12:39 PM

    I have wokedout the answer which may help someone in the future...

    When embedding code submitting can fail the authentication if there is more than one form on the page. The error lies around the hidden field and script at the end:

    <input type="hidden" id="simple_spc" name="simple_spc" value="123456789" />
    <script type="text/javascript">
    document.getElementById("si" + "mple" + "_spc").value = "123456789-123456789";
    </script>

    To remedy this the hidden field needs to be unique on the page as does the script which points to it:

    <input type="hidden" id="simple_spc1" name="simple_spc" value="123456789" />
    <script type="text/javascript">
    document.getElementById("si" + "mple" + "_spc1").value = "123456789-123456789";
    </script>

    <input type="hidden" id="simple_spc2" name="simple_spc" value="987654321" />
    <script type="text/javascript">
    document.getElementById("si" + "mple" + "_spc2").value = "987654321-987654321";
    </script>

    etc...

    Iif you are using php to apply the html code to the page you can use rand() to generate a random number - whicj works especially well if you don't know how many form might be added to a give page - one one page on our site I have 4.

  • BJoanna
    Replied on November 2, 2015 at 3:39 PM

    Thank you for sharing workaround for this issue with us and our other users. I'm sure that some of our users will find this as very helpful.

    Feel free to contact us if you have any other questions.