Title: Logic/conditional question
Last modified: November 5, 2021

---

# Logic/conditional question

 *  Resolved [beccagreene](https://wordpress.org/support/users/beccagreene/)
 * (@beccagreene)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/logic-conditional-question/)
 * Hello, I want to have it so that after an Ultimate Member application form is
   filled out by a registered user, “Application Status: Pending” text shows up 
   on their account page. Does Ultimate Member have this functionality, how can 
   I achieve this?

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

 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/logic-conditional-question/#post-15045755)
 * Hi [@beccagreene](https://wordpress.org/support/users/beccagreene/)
 * I would store a new user meta on user registration with the following code:
 *     ```
       add_action( 'um_registration_complete', 'um_110821_application_status' ,1 );
       function um_110821_application_status( $user_id ){
         update_user_meta( $user_id, "application_status", "Pending");
       }
       ```
   
 * and to display it on the account page, you can try this code:
 *     ```
       add_filter("um_before_form","um_110821_display_above_account");
       function um_110821_display_above_account( $args ){
           if( "account" == $args['mode'] ) {
           $user_id = um_user("ID");
           $app_status = get_user_meta( $user_id, "application_status", true);
            if( "Pending" == $app_status ){
                echo '<p class="um-notice err"><i class="um-icon-ios-close-empty" onclick="jQuery(this).parent().fadeOut();"></i>Application Status: ' . $app_status. '</p>';
             }
   
           }
       }
       ```
   
 * Regards,
    -  This reply was modified 4 years, 7 months ago by [Champ Camba](https://wordpress.org/support/users/champsupertramp/).
    -  This reply was modified 4 years, 7 months ago by [Champ Camba](https://wordpress.org/support/users/champsupertramp/).
    -  This reply was modified 4 years, 7 months ago by [Champ Camba](https://wordpress.org/support/users/champsupertramp/).
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/logic-conditional-question/#post-15080015)
 * Hi [@beccagreene](https://wordpress.org/support/users/beccagreene/)
 * …This thread has been inactive for a while so we’re going to go ahead and mark
   it Resolved. ..Please feel free to re-open this thread by changing the Topic 
   Status to ‘Not Resolved’ if any other questions come up and we’d be happy to 
   help. 🙂
 * Regards,

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

The topic ‘Logic/conditional question’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/logic-conditional-question/#post-15080015)
 * Status: resolved