It looks like you're new here. If you want to get involved, click one of these buttons!
Welcome to the Support forum.
New Discussion can be made between Monday and Friday (AEST). Comments are never disabled.
if($key == $field['value'])
if($key == $field['value'] || ('' == $field['value'] && $key == $field['default_value']))
//Set the default field value if the value does not currently exist and a value is set for the defaultif($field['value'] == '' && $field['default_value'] != '') $field['value'] = $field['default_value'];
The Advanced custom fields plugin is created and maintained by Elliot Condon; a web developer living and working in Melbourne, Australia.
Copyright 2013 Elliot Condon