Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've added a checkbox setting to a custom FormDataSourceType:
[Umbraco.Forms.Core.Attributes.Setting("CreateRecord", view = "CheckBox")] public bool CreateRecord { get; set; }
When you save the data source and the setting is true the form fails to save. there is nothing in the umbraco logs. Running umbraco forms Umbraco Forms 4.2.0-WIP.Build.65.
See: http://issues.umbraco.org/issue/CON-821
Comment author was deleted
Hey, it's because CreateRecord can't be used as a property name, renaming it should get rid of the error
is working on a reply...
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.
Continue discussion
BUG: Adding checkbox setting to custom FormDataSourceType does not work
I've added a checkbox setting to a custom FormDataSourceType:
[Umbraco.Forms.Core.Attributes.Setting("CreateRecord", view = "CheckBox")] public bool CreateRecord { get; set; }
When you save the data source and the setting is true the form fails to save. there is nothing in the umbraco logs. Running umbraco forms Umbraco Forms 4.2.0-WIP.Build.65.
See: http://issues.umbraco.org/issue/CON-821
Comment author was deleted
Hey, it's because CreateRecord can't be used as a property name, renaming it should get rid of the error
is working on a reply...
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.