Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Insert html after specific profile field

@chinatownlee

Participant

After a lot of research I managed to compile this code:

        <?php 
              $args = array(
                'field'   => 'Name',
                'user_id' => $user_id,
              );
                $data = bp_get_profile_field_data( $args);
                  if (	'Name' == bp_get_the_profile_field_name() && !empty($data) ) { ?>
                    <form action="" method="post">
                        <input type="submit" name="certified" value="Inform" />
                        <input type="hidden" name="button_pressed" value="1" />
                    </form>
        <?php } ?>

However, when I put this members/single/profile/edit.php Save Changes button becomes inactive.

Why? How do I solve this?

Skip to toolbar