Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error whil editing fields


  • agundabbo
    Participant

    @agundabbo

    Hi. I have created 3 custom fields(required) with BP.
    I use this modification
    while ( bp_profile_fields() ) : bp_the_profile_field(); if ( get_current_user_id()=#ADMIN ID OR bp_get_the_profile_field_id() != 'ID # YOU WANT TO SKIP' ) :
    to deny that user can change a specific field.
    But If a user try to change another field, I have an error that

    Please make sure you fill in all required fields in this profile field group before saving.

    If think it pops out because I hide a field, but how can i handle this?
    Regards

  • The topic ‘Error whil editing fields’ is closed to new replies.
Skip to toolbar