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")]
publicstring Captcha { get; set; }
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)
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?
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?
Comment author was deleted
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)
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?
Comment author was deleted
Hey are you using the razor macro?
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
Comment author was deleted
Ok mind sharing the full stack trace then?
is working on a reply...