Editing Field error
Hi. I have 3 custom fields (required). I want that users can not edit one of them so i put this code as suggested:
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' ) :
But when a user try to edit another field, it pops out this error
Please make sure you fill in all required fields in this profile field group before saving.
I think it occurs because the user can not see the hidden fields.
How can I handle that?
- The topic ‘Editing Field error’ is closed to new replies.