Now I have managed to store the data.
But now, there is a problem to get the value from the db.
The saved data looks like:
But, when i debug the $field var at the backend output i only get this data:
Array ( [seperator] => - [country-prefix] => + [key] => field_54848f4ff3185 [label] => test [name] => fields[field_54848f4ff3185] [_name] => test [type] => phonenumber [order_no] => 26 [instructions] => [required] => 0 [id] => acf-field-test [class] => phonenumber [conditional_logic] => Array ( [status] => 0 [rules] => Array (  => Array ( [field] => field_545fc78e1d45a [operator] => == [value] => 0 ) ) [allorany] => all ) [field_group] => 137 [value] => )
The value is missing…
…also in the frontend
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.