Support

Account

Home Forums General Issues Get conditional field by name Reply To: Get conditional field by name

  • If the field does not have an entry in the DB for the post you are getting it for then you cannot get it by name. ACF uses the field key, when you supply the field name then ACF looks up the key by finding the field key reference for in the DB and uses the post ID and field name to get it. If there is no value saved in the DB then there is no field key reference and ACF is unable to locate the field.