Copied to clipboard

Flag this post as spam?

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


  • Bo Jacobsen 590 posts 2366 karma points
    Aug 21, 2017 @ 11:49
    Bo Jacobsen
    0

    Umbraco Forms FieldType hide in Entries

    Hi All.

    If i have a custom FieldType, how do i hide the property from entries, like Forms recaptcha do?

    public CustomFieldTypeProperty()
    {
        this.DataType = Umbraco.Forms.Core.FieldDataType.String;
        this.Description = "CustomFieldTypeProperty Descriptuion";
        this.Icon = "icon-eye color-orange";
        this.Id = new Guid("DE56846C-A5B0-41AB-93AE-H6CA980BC8C3");
        this.Name = "CustomFieldTypeProperty";
        this.SortOrder = 10;
    
        this.HideField = true; // This does not help   
    }
    
  • Bo Jacobsen 590 posts 2366 karma points
    Sep 08, 2017 @ 07:16
    Bo Jacobsen
    0

    Bump

  • Bo Jacobsen 590 posts 2366 karma points
    Jul 10, 2018 @ 18:58
    Bo Jacobsen
    101

    I found out that Umbraco.Forms.Core.FieldType got a virtual property called StoresData.

    public override bool StoresData
    {
        get
        {
            return false;
        }
    }
    
Please Sign in or register to post replies

Write your reply to:

Draft