Rudi
|
| Posted: 01/17/2003, 5:10 AM |
|
If I choose "Properties" of a data field, "Input Validation". Here I can
choose between "Email" and "5 digit Zip code".
How can I add more options to the "Input Validation" ?
I would like to add "Validate Date" dd/mm/yyyy
Regards
Rudi
|
|
|
 |
Rudi
|
| Posted: 01/17/2003, 5:22 AM |
|
I have found out that I can do so by adding a item to the typelib.xml-file.
InputMasks
But I do not know the value I should add to have the "Validate Date"
function.
To validate 5 digit zip code the value is "^\d{5}$" but what should it be to
get "Validate Date" dd/mm/yyyy ?
Regards
Rudi
"Rudi" <tomymail@online.no> wrote in message
news:b08vbh$eoo$1@news.codecharge.com...
> If I choose "Properties" of a data field, "Input Validation". Here I can
> choose between "Email" and "5 digit Zip code".
>
> How can I add more options to the "Input Validation" ?
>
> I would like to add "Validate Date" dd/mm/yyyy
>
>
> Regards
> Rudi
>
>
|
|
|
 |
jc
|
| Posted: 01/18/2003, 12:17 AM |
|
Hi Rudi,
If type of your control is Date and Format is dd/mm/yyyy (or Site
property 'Default Date Format' is dd/mm/yyyy) then value will be
validate with this format.
Rudi wrote:
> I have found out that I can do so by adding a item to the typelib.xml-file.
> InputMasks
>
> But I do not know the value I should add to have the "Validate Date"
> function.
> To validate 5 digit zip code the value is "^\d{5}$" but what should it be to
> get "Validate Date" dd/mm/yyyy ?
>
>
> Regards
> Rudi
>
>
|
|
|
 |
|