On 01/09/07, Barry Hoggard <[EMAIL PROTECTED]> wrote:
> I have a form with an optional URL field.  How do I constrain that to
> be a valid URL, but only if the user enters something?  I don't want
> it to be required.

All constraints should pass if the value is missing or the empty
string - if it doesn't, it's a bug.

The Regex constraint docs have an example for matching a URL.

Carl

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to