Copied to clipboard

Flag this post as spam?

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


  • AnandBhopale 54 posts 172 karma points
    Apr 30, 2021 @ 13:40
    AnandBhopale
    0

    Custom Dropdown field with API

    I am trying to build custom dropdown field for umbraco form.

    So, I have created my own class (C#)

    public class SampleDropdown: Umbraco.Forms.Core.FieldType
    

    and created custom properties like

    [Umbraco.Forms.Core.Attributes.Setting("API Url", Description = "Enter Web API Value for Date feed", View = "TextField")]
        public string APIUrl { get; set; }
    

    This property will be used by Form creators.

    I not sure how to call api within c# class. There are no databinding event

  • 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