creating a new conditional field type