All releases of Validate_fields Class

  •  20 Feb 2006 13:52
Avatar

    Release Notes: A small improvement in the create_msg() method makes it possible to switch between the XHTML version and the simple HTML version. In the fields array one key was named "name", and it has been renamed to "value" to make it more clear. The variable declarations at the beginning of the validation method was removed. Because the value of a checkbox (radio) type field is only available if the element is checked, there are new functions to validate this elements.

    •  20 Feb 2006 13:47
    Avatar

      Release Notes: The regular expression pattern of the check for HTML code wasn't good, but is working now. The example page was modified to test general text inside a textarea (which is useful to test the HTML code check). There are also Spanish translations for the messages now.

      •  23 Jun 2005 12:29
      Avatar

        Release Notes: A small bug inside the email pattern was fixed. Danish translations were added.

        •  22 Jun 2005 22:18
        Avatar

          Release Notes: The validation of email addresses was not good. The regex pattern has been changed to validate the most common cases.

          •  19 Dec 2004 14:17
          Avatar

            Release Notes: Negative integers will now be validated. A new validation method was added, called check_html_tags(). If the $check_4html variable is set to true, all fields will be validated for HTML tags. The method for the URL check was optimized and otherwise modified. It is now possible to validate (nearly) all kind of URLs from the HTTP protocol.

            •  19 Dec 2004 14:14
            Avatar

              Release Notes: A new method for URL validation, called check_url(), was added. The create_msg() method is now called inside the constructor. The add_field() method was split into four methods to clarify which properties are needed: add_text_field(), add_num_field(), add_link_field(), and add_date_field(). It is now possible to check both European and US formatted dates by using the "version" parameter.

              •  19 Dec 2004 13:25
              Avatar

                Release Notes: The error_text($num, $fieldname = "") method was changed a little to get a string with spaces in place of an underscore. The check_decimal() method was added to the class. The validation() and add_field() methods were also changed to handle the new method. The Dutch and German translations were added to the error_text() method.

                Screenshot

                Project Spotlight

                episoder

                A tool to tell you about new episodes of your favourite TV shows.

                Screenshot

                Project Spotlight

                BalanceNG

                A modern software IP load balancer.