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.
Comment author was deleted
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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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.
Comment author was deleted
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...