As I said in my first reply. You also need to set the field key reference. You are setting “name” and “date”. your also need to set “_name” and “_date” with the correct field keys. The value for “name” is working only because it is a simple text type field. A date field will not work correctly without the field key reference. In addition to this the date must be in the format YYYYMMDD
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users