Support

Account

Home Forums Front-end Issues User frotnend form – validation gives worng amount of errors

Helping

User frotnend form – validation gives worng amount of errors

  • Hey,

    I use acf_form() for a frontend acound edit form. This works so far except that I have a validation error when using the URL field.

    When a user types in an url without http protocol it throws an error. Weird thing: on top of the form validation says that there are errors in two fields. But only the url field gets highlighted. When I correct the url it saves without any validation errors.

    Is this a bug?

    Expected behaviour: Validation on URL field throws 1 error if url protocol is missing

    Actual behaviour: Validation throws 2 errors although there is only one (and validation is fine after this one field error ist corrected).

    Any help would be appreciated.

    Thanks,
    Florian

  • Hi @florianbepunkt

    Thanks a lot for getting to us.

    I am trying to replicate the problem on my end with no luck.

    Are you still having the problem? Kindly ensure that you are running the latest version of the plugin.

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

The topic ‘User frotnend form – validation gives worng amount of errors’ is closed to new replies.