Hi,
I want to determine the type of a field in a custom field method.
Is there a better way to do this than to get the field’s key and search the respective page’s blueprint for this key?
Hi,
I want to determine the type of a field in a custom field method.
Is there a better way to do this than to get the field’s key and search the respective page’s blueprint for this key?
The blueprint is the only place where this information is stored, so no. Unless you store this information somewhere else, e.g. in config or a file/database.
OK, thanks for the quick reply, pixelijn!