protected function make_fields_validation() {
		foreach ( $this->fields as $key => $field ) {
			if ( $this->maybe_skip_field( $field ) ) {
				continue;
			}

			if ( $rules = $field->get_option( 'validate' ) ) {
				$attributes = ( new Rules_Parser( $field ) )->parse( $rules );
				$field->set_attribute( $attributes );
			}
		}
	}
protected function make_fields_validation() {
		foreach ( $this->fields as $key => $field ) {
			if ( $this->maybe_skip_field( $field ) ) {
				continue;
			}

			if ( $rules = $field->get_option( 'validate' ) ) {
				$attributes = ( new Rules_Parser( $field ) )->parse( $rules );
				$field->set_attribute( $attributes );
			}
		}
	}
protected function make_fields_validation ( ) { foreach ( $ this -> fields as $ key => $ field ) { if ( $ this -> maybe_skip_field ( $ field ) ) { continue ; } if ( $ rules = $ field -> get_option ( 'validate' ) ) { $ attributes = ( new Rules_Parser ( $ field ) ) -> parse ( $ rules ) ; $ field -> set_attribute ( $ attributes ) ; } } }
HTML5 validation attributes based on "validate".

@return void
HTML5 validation attributes based on validate .