Support

Account

Home Forums Backend Issues (wp-admin) Field set as required, form submits if field is empty

Helping

Field set as required, form submits if field is empty

  • I posted a similar question a few days ago but I think I just confused the hell out of people so I’m going to try again!

    I have added several custom fields to the User Profile with no problem at all, they appear in the User Profile page.

    Several of the fields are marked as required; A textarea input field, two select fields and two text input fields.

    The problem is that when the user saves any changes to their Profile, these fields can be empty but STILL be submitted – the requirement for these fields to be completed is being ignored.

    I’ve tried searching this forum and a general Google search too with no results. I’m hoping someone here can shed some light on what might be going wrong.

    Thanks!

  • What version of ACF are you using. This does seem to be what’s happening on ACF4 but not on ACF5.

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

The topic ‘Field set as required, form submits if field is empty’ is closed to new replies.