Support

Account

Home Forums Bug Reports New custom fields doesn't save values Reply To: New custom fields doesn't save values

  • Hi @patternbook

    The issue is that you are using a custom ‘name’ attribute to POST the data. ACF requires the data to be posted with a very specific name attribute.

    The code which causes the error is:
    <li><input type="radio" name="rating" class="star" value="1">1</li>

    Your name is rating. If you look at the source code for a normal ACF field, you will see that it is more like ‘fields[field_13434ydf]’

    To make your field type compatibile, notice that the radio field uses $field[‘name’] for the name attribute! Not a custom name.

    That should fix it.

    Thanks
    E