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 438 posts 1818 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 438 posts 1818 karma points
    Sep 08, 2017 @ 07:16
    Bo Jacobsen
    0

    Bump

  • Bo Jacobsen 438 posts 1818 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;
        }
    }
    
  • 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.

Please Sign in or register to post replies