Re: [phplib] optional form fields From: Leif Jakob (phplib <email protected>)
Date: 11/22/00

On Tue, Nov 21, 2000 at 10:14:36PM -0500 Philip Strnad wrote:

> Date: Tue, Nov 21, 2000 at 10:14:36PM -0500
> From: Philip Strnad <philip <email protected>>
> To: To phplib <email protected>
> Subject: [phplib] optional form fields

Hi Philip!

> I have a quick question for the OOH form gurus on the list. What is the
> best way to implement optional fields in a form? What I want to do is

Use this kind of regular expression:
^$|^[0-9]+$

To enter a number or leave blank

Leif

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>