Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • J 351 posts 606 karma points
    Jun 19, 2013 @ 15:28
    J
    0

    Captcha with Contour v 1.1.12

    Back again :)

    I have the below code in order to try and have a captcha field but when i run the site i get Object ref not set to an instance - not sure if ive missed something off but searching around shows everyone has done the same. Again not sure if this is due to being version 1.1.12?

            [Field(FormPages.Registration, FormFieldsets.Details, Type = typeof(Recaptcha), Mandatory = true, Caption = "Enter the captcha")]
            public string Captcha { getset; }
  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jun 19, 2013 @ 15:38
    Tim Geyssens
    0

    Possibly but I truly doubt that you are running 1.1.12 since the Recaptcha type doesnt exist in that version, mind checking the Contour dashboard to see if you can view the version (bottom left)

  • J 351 posts 606 karma points
    Jun 19, 2013 @ 16:41
    J
    0

    Right, it seems like someone has upgraded the version to 3.0.9 (nice of them to tell me :)), where i had version 1.1.12 on my local machine for development. I've now changed both to the same version. The way i checked this was by going into Dev > Packages > Expand Installed Packages.

    The problem still exists though when i add the above line of code?

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jun 20, 2013 @ 10:13
    Tim Geyssens
    0

    Hey are you using the razor macro?

  • J 351 posts 606 karma points
    Jun 20, 2013 @ 11:45
    J
    0

    No....all im doing is creating a dll and then copying the .cs file into the app_code folder. Version of Umbraco is 4.7.1

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jun 24, 2013 @ 09:50
    Tim Geyssens
    0

    Ok mind sharing the full stack trace then?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies