/** * Prevent certain names from the Name form field. * * @link https://wpforms.com/developers/how-to-block-names-from-completing-your-form/ * */ function wpf_dev_block_name_validation( $field_id, $field_submit, $form_data ) { // Bail early if form ID is not 408 and field ID is not 1 if ( absint( $form_data['id'] ) !== 408 && $field_id !== 1 ) { return; } // Form builder Name format is set to First Last $submitted_name = $field_submit['first'] .' ' .$field_submit[ 'last' ]; // Create your list of names to be blocked separated by commas $blocked_names = array( 'Crytomoult Crytomoult', 'Dyan Dyan', 'ErnestPerFO ErnestPer' ); foreach( $blocked_names as $name ) { if( strcmp( ucwords($submitted_name), $name ) == 0 ) { wpforms()->process->errors[ $form_data['id'] ]['header'] = esc_html__( 'Can\'t submit form. Please try again later.', 'wpforms' ); return; } } } add_action( 'wpforms_process_validate_name', 'wpf_dev_block_name_validation', 10, 3 );

Gallery

Weddings with TPE®

HUGE Egyptian Wedding at The Legacy Castle in NJ

DJ Mina M-Sal celebrating the new Mr. & Mrs. Kates

Mr. & Mrs. Megalla at the Tides estate

Mr. & Mrs. Azer at THE ESTATE AT FLORENTINE GARDENS

Mr. & Mrs. Mankarious’s at the Valley Regency

Mr. & Mrs. Tawadros at The Venetian

Mina is the BEST DJ in the tri-state area. He made our day PERFECT. He’s talent is beyond amazing. If you want a wedding out of this world you NEED to hire Mina. He gives you 110% percent, he’s organized, takes time to see what your looking for and perfects it, always answers any questions, makes everything clear, and most importantly he’s the best to work with.

– Rofa Yacoub –

Mina knows how to do it right. This guy threw exactly the party we were hoping for on our special day. Highly recommend!

– Mina Grace –