When grabbing a list details through the API using get_custom_fields(), it seems it is not possible to know if the custom fields of this list are required or not.
Is there a way to know if a custom field has its "required" property set to on or off with the API?
Yes, the required details are returned when you pull the custom fields for a list. You'll see something like this: http://d.pr/n/HT5s
I hope that helps!
Hi Chris, I have the same type of object returned as you, however, I can't see what is the property that specifically spots if a field is required or not.
For example, I have created a custom field marked as required in the list admin, yet this is what is returned:
[FieldName] => CF Text
[Key] => [CFText]
[DataType] => Text
[FieldOptions] => Array()
[VisibleInPreferenceCenter] => 1
Am I missing something here?
Anyone one from support?