Copied to clipboard

Flag this post as spam?

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


  • Tom Norwood 29 posts 60 karma points
    Aug 28, 2015 @ 13:33
    Tom Norwood
    0

    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

    Sep 09, 2015 @ 11:44

    Hey, it's because CreateRecord can't be used as a property name, renaming it should get rid of the error

Please Sign in or register to post replies

Write your reply to:

Draft