Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • pedger
    Participant

    @pedger

    @dro-i-de aparently this is a feature not a bug. If the user editing the fields has a bp_moderate capability, it is allowed to save empty fields. Your regular users will not.

    Found it here: https://buddypress.trac.wordpress.org/ticket/7483#comment:6

    I tested and it works as expecteded.

    Cheers


    pedger
    Participant

    @pedger

    I have the same issue. Apart from the Name field, all new fields marked as required doesn’t throw errors when the user saves its profile on either on frontend and backend.

    I created the fields using User > Profile fields tool, where there’s a required option. The input elements on the frontend even has ‘aria-required=”true”‘ param.

    In my case, when the user leaves a field empty (i.e. deletes the info that was there previously, the db entry is simply deleted. (agreed with @dro-i-de, not the expected behavior)

    How xprofile handles the fields marked as required?

    running WP 4.9.4 Theme: Boss (child Theme) 2.4.2
    Buddypress: 2.5.14

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar