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. Wrapping errors into popup requires more customization. Try this 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