Support

Account

Home Forums Bug Reports Fields not saving on update if Field Name is blank

Fields not saving on update if Field Name is blank

  • I’ve noticed that even though the Field Name for a custom field is required, you can save the Field Group if it’s empty. Then when you try to update a post or page the field data with the empty Field Name is not saved. I wasted some time debugging my repeater until I realized the Field Name was empty.

    Perhaps the Field Group can throw an error on save if there are empty required fields.

  • Hi @dylanfisher

    Thanks for the concern, however the field_name is what is used to load and save the value. Without this field_name, no metadata could be saved.

    That said, I’ll add this to the to-do and add in some validation.

    Thanks
    E

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Fields not saving on update if Field Name is blank’ is closed to new replies.