Title: Error on page profil
Last modified: September 23, 2024

---

# Error on page profil

 *  Resolved Anonymous User
 * (@anonymized-23123014)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-page-profil/)
 * Hello, I resctric 3 choices on checkbox profil and when the user choice more 
   3, the error come on bottom.
 * How to display on top nex the title choice checkbox
 * Thanks for your help
 * Michel

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

 *  Plugin Support [Yurii](https://wordpress.org/support/users/yuriinalivaiko/)
 * (@yuriinalivaiko)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-page-profil/#post-18033440)
 * Hello @kikobyofficial
 * Do you mean this error message: [https://prnt.sc/L4-FcEVCNe5_](https://prnt.sc/L4-FcEVCNe5_)
 * You can use custom CSS code to reorder elements into the field:
 *     ```wp-block-code
       .um-field.um-field-checkbox {	display: flex;	flex-direction: column;}.um-field.um-field-checkbox .um-field-label {	order: 1;}.um-field.um-field-checkbox .um-field-area {	order: 3;}.um-field.um-field-checkbox .um-field-error {	order: 2;}
       ```
   
 * Example: [https://prnt.sc/laPAwsXWXy2w](https://prnt.sc/laPAwsXWXy2w)
 * You can add CSS code to the _style.css_ file in the child theme. You also can
   add CSS code to the field “Additional CSS” on _wp-admin > Appearance > Customize
   > Additional CSS_ if your theme supports this feature.
 * Regards
 *  Thread Starter Anonymous User
 * (@anonymized-23123014)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-page-profil/#post-18033634)
 * Hello thanks very much works well
 * Michel
 *  Thread Starter Anonymous User
 * (@anonymized-23123014)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-page-profil/#post-18033665)
 * Hello, I want to know if there is way to display in popup the error text ?
 * Michel
 *  Plugin Support [Yurii](https://wordpress.org/support/users/yuriinalivaiko/)
 * (@yuriinalivaiko)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-page-profil/#post-18034624)
 * Hi @kikobyofficial
 * There is no way to display errors in popup.
 * You can use a code to display errors, see doc [Display all form errors below the form](https://docs.ultimatemember.com/article/1752-display-all-form-errors-below-the-form).
   Wrapping errors into popup requires more customization. Try this code:
 *     ```wp-block-code
       add_action( 'um_after_form', 'um_display_all_form_errors' );function um_display_all_form_errors( $args = array() ) {	if ( ! empty( UM()->form()->errors ) ) {		$error_text = wp_strip_all_tags( implode( ' ', UM()->form()->errors ) );		?>		<div id="um_form_errors" style="display:none;">			<a href="javascript:void(0);" data-action="um_remove_modal" class="um-modal-close" aria-label="Close"><i class="um-faicon-times"></i></a>			<div class="um-modal-header">Form errors</div>			<div class="um-modal-body"><?php echo $error_text; ?></div>		</div>		<script type="text/javascript">			jQuery( window ).load( function() {				um_new_modal( 'um_form_errors', 'normal', false, '' );			} );	  	</script>		<?php			}}
       ```
   
 * Regards
 *  Thread Starter Anonymous User
 * (@anonymized-23123014)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-page-profil/#post-18034671)
 * Hello, I try to add but doesnt works, no display the popup
 * Thanks
 * Michel
 *  Thread Starter Anonymous User
 * (@anonymized-23123014)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-page-profil/#post-18035054)
 * hello, now its working its great thanks again very much
 *  Thread Starter Anonymous User
 * (@anonymized-23123014)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-page-profil/#post-18035207)
 * Hello, if I can ask you something, when there is more than 1 error, can break
   the line for see each error by line ??
 * Thanks
 * Michel
 *  Plugin Support [Yurii](https://wordpress.org/support/users/yuriinalivaiko/)
 * (@yuriinalivaiko)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-page-profil/#post-18035960)
 * Hello @kikobyofficial
 * Yes, you can. Change the first parameter in the [implode](https://www.php.net/manual/en/function.implode.php)
   function. This parameter is a separator between strings. Try this code:
 *     ```wp-block-code
       add_action( 'um_after_form', 'um_display_all_form_errors' );function um_display_all_form_errors( $args = array() ) {	if ( ! empty( UM()->form()->errors ) ) {		$error_text = implode( '<br>', UM()->form()->errors );		?>		<div id="um_form_errors" style="display:none;">			<a href="javascript:void(0);" data-action="um_remove_modal" class="um-modal-close" aria-label="Close"><i class="um-faicon-times"></i></a>			<div class="um-modal-header">Form errors</div>			<div class="um-modal-body"><?php echo $error_text; ?></div>		</div>		<script type="text/javascript">			jQuery( window ).load( function() {				um_new_modal( 'um_form_errors', 'normal', false, '' );			} );	  	</script>		<?php			}}
       ```
   
 * Regards
 *  Thread Starter Anonymous User
 * (@anonymized-23123014)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-page-profil/#post-18036832)
 * Hello, thanks very much.
 * Just its great but on register display few line error with same text ( field 
   is required ) so maybe its possible to display error from ID or maybe use this
   popup for only my default profile [ultimatemember form_id=”64″]
 * On login its great because the error come with the ID name but not for register
 * Thanks very much
 * Regards
 * Michel
    -  This reply was modified 1 year, 8 months ago by Anonymous User.
 *  Thread Starter Anonymous User
 * (@anonymized-23123014)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-on-page-profil/#post-18036969)
 * Hello, I do it by fill the field label on register form and display this in css
 * label[for=”user_email-908″]
   {display:none;margin: 0px 0 0px 0px !important;}
 * Tell if its OK ?
 * Thanks
 * Regards
 *  Plugin Support [Yurii](https://wordpress.org/support/users/yuriinalivaiko/)
 * (@yuriinalivaiko)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/error-on-page-profil/#post-18214046)
 * Hello,
 * The code snippet above just displays existing error messages in popup. It does
   not modify error messages. Verify that every field in your registration form 
   has a label. The required error message is built using the field label in the
   pattern _‘%s is required’_.
 * Regards
 *  Plugin Support [Yurii](https://wordpress.org/support/users/yuriinalivaiko/)
 * (@yuriinalivaiko)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/error-on-page-profil/#post-18228240)
 * Hi kikobyofficial,
 * 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 if any other questions come up and we’d
   be happy to help.
 * Regards

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

The topic ‘Error on page profil’ 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/)

 * 12 replies
 * 2 participants
 * Last reply from: [Yurii](https://wordpress.org/support/users/yuriinalivaiko/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/error-on-page-profil/#post-18228240)
 * Status: resolved