Captcha on submit

  • diddev
    Asked on April 14, 2021 at 9:24 AM
  • Nikola JotForm Support
    Replied on April 14, 2021 at 10:36 AM

    Apologize for the inconvenience this may have caused.

    That issue can't be replicated when your standalone form is submitted, so most likely there is a script conflict between form and website scripts. Please re-embed it with the iframe code.

    Related Guide: Getting the Form iFrame Code

  • diddev
    Replied on April 14, 2021 at 10:47 AM

    But a standalone page might be running from your server.

    Our dev team has integrated the form into the code. It will be hard to use the Iframe due to styling

  • Nikola JotForm Support
    Replied on April 14, 2021 at 12:35 PM

    Is your form embedded with the source code? If so, please search "spc" (without quotes) then append 1 in it e.g. spc1 to see if that will resolve the issue.

    Example:

    <input type="hidden" class="simple_spc1" id="simple_spc1" name="simple_spc1" value="211035342005033" />

     <script type="text/javascript">

     var all_spc1 = document.querySelectorAll("form[id='211035342005033'] .si" + "mple" + "_spc1");

    for (var i = 0; i < all_spc1.length; i++)

    {

     all_spc1[i].value = "211035342005033-211035342005033";

    }

     </script>

     Also, please note that you can style forms in Form Builder with CSS.

    Related Guide: How to Inject Custom CSS Codes

  • diddev
    Replied on April 14, 2021 at 11:47 PM

    Fixed on 2 forms, but not working on the home form.

    loreal-aad-website-2021-04 (didlabs.com)

    Any other suggestions or can your review the code and let us know if we are missing anything?

    Thanks,

    Navneet


  • Vanessa_T
    Replied on April 15, 2021 at 1:32 AM

    I checked the form on the link you have sent and I can see there is still an "spc" code in there, but it looks like there's another one that is quite similar to it that is appended with 1, "spc1".

    1618464620 6077cf6cd59cc 03761 Screenshot 10

    I compared it with your form's source code and the spc1 is incorrect.

    As such, please remove the line that currently has "spc1".

    Then the one with "spc", please append "1" to it as advised by my colleague previously.

  • diddev
    Replied on April 15, 2021 at 10:28 AM

    Thanks for your help Vanessa!