Questions tagged [custom-field]

For questions related to the creation, customization and use of custom field types in Sitecore

Filter by
Sorted by
Tagged with
9 votes
3 answers

Item validator access already stored data instead of newly inputed data

Im facing a problem with sitecore item validator when I try to save the data. The purpose of my validator (the class inherit from StandardValidator) is to simply check if, atleast, field A or field B ...
TeKilla's user avatar
  • 135
4 votes
0 answers

Apply field validations across fields

I'm building a component that, among other fields, contains "title" and "text" fields. The business logic is: If both fields are empty, that is OK If both fields are populated, that is OK If one ...
Ben Lipson's user avatar
  • 1,382
2 votes
1 answer

Custom code for sorting sitecore multilist field items

I have written the following code to sort the left hand side of multilist using code: public Item[] ListQuery(Item item) { try { List<Item> sourceItems = new List<Item>(); ...
Niti Chauhan's user avatar
1 vote
2 answers

Multi-root treelist with queries

I'm trying to use the Multi-root treelist that Kam Figy made and that Zachary Kniebel extended. I used this guide to add the Field-type to the Core database. All is well, until I put query: anywhere ...
asontu's user avatar
  • 181