id ); // we need to allow scripts here for javascript in the success message echo FrmAppHelper::maybe_kses( $message ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } } if ( isset( $errors ) && is_array( $errors ) && ! empty( $errors ) ) { if ( isset( $form ) && is_object( $form ) ) { FrmFormsHelper::get_scroll_js( $form->id ); } ?>