Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there a way to add new textboxes (or other controls) to the additional settings? I need some extra settings for this fieldtype that I'm developing.
Never mind, found it, do something like this:
public sealed class MyField : FieldType { [Umbraco.Forms.Core.Attributes.Setting("SomeSetting", prevalues = "", description = "Setting description", control = "Umbraco.Forms.Core.FieldSetting.TextField")] public string SomeSetting { get; set; }
Building an example into Contour Contrib project right now.
Yup that's the way to do it, but it's only possible from version 1.1.3 (currently wip) and up
is working on a reply...
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.
Continue discussion
How to add extra textbox in the "Additional settings" of a custom fieldtype?
Is there a way to add new textboxes (or other controls) to the additional settings? I need some extra settings for this fieldtype that I'm developing.
Never mind, found it, do something like this:
Building an example into Contour Contrib project right now.
Yup that's the way to do it, but it's only possible from version 1.1.3 (currently wip) and up
is working on a reply...
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.