Copied to clipboard

Flag this post as spam?

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

  • AnandBhopale 33 posts 79 karma points
    1 week ago

    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

Please Sign in or register to post replies

Write your reply to: