CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Input Validation

Print topic Send  topic

Author Message
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
>
>

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.