I'm trying to insert a ReCaptcha field through code first and having a little trouble (getting an object not defined error) - but i think its related to the theme not being set. So in my class I have:
[Field(FormPages.General, FormFieldsets.General, Tooltip = "ReCaptcha", Type = typeof(Recaptcha), Mandatory = true, RequiredErrorMessage = "Please enter the words")] public Recaptcha ReCaptcha { get; set; }
...but I cannot see how to set the theme (color) - any ideas? I'm sure its got something to do with AdditionalSettings... maybe. :)
Contour - Additional Settings
Hey Tim,
I'm trying to insert a ReCaptcha field through code first and having a little trouble (getting an object not defined error) - but i think its related to the theme not being set. So in my class I have:
...but I cannot see how to set the theme (color) - any ideas? I'm sure its got something to do with AdditionalSettings... maybe. :)
Any help much appreciated!
Cheers,
Kenny
Comment author was deleted
Yup it's the additional settings that you need to set :) let me dig up an example
Comment author was deleted
Check it out http://www.nibble.be/?p=220
Mandatory = true,
Type = typeof(Contour.Contrib.FieldTypes.ReCaptcha))]
Cheers Tim! :)
Comment author was deleted
No prob should write some better docs on it ;)
is working on a reply...