Loading ...
Sorry, an error occurred while loading the content.

Not required but validated if input

Expand Messages
  • pvutrix
    How can I make a field validate only if something is input? Is this the proper way to do it? ValidateOptionalValue =
    Message 1 of 2 , Mar 28, 2005
    • 0 Attachment
      How can I make a field validate only if something is input?

      Is this the proper way to do it?
      "ValidateOptionalValue"=>""
    • Manuel Lemos
      Hello, ... Yes. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP
      Message 2 of 2 , Mar 28, 2005
      • 0 Attachment
        Hello,

        on 03/28/2005 01:06 PM pvutrix said the following:
        >
        > How can I make a field validate only if something is input?
        >
        > Is this the proper way to do it?
        > "ValidateOptionalValue"=>""

        Yes.

        --

        Regards,
        Manuel Lemos

        PHP Classes - Free ready to use OOP components written in PHP
        http://www.phpclasses.org/

        PHP Reviews - Reviews of PHP books and other products
        http://www.phpclasses.org/reviews/

        Metastorage - Data object relational mapping layer generator
        http://www.meta-language.net/metastorage.html
      Your message has been successfully submitted and would be delivered to recipients shortly.